Explore the concept of "Regular" types in C++ programming through this comprehensive conference talk from Meeting C++ 2023. Delve into the foundational principles of STL design as described by Alexander Stepanov, understanding why regular types are crucial for proper functioning of data structures and algorithms. Examine how modern STL vocabulary types like string_view, span, optional, and expected raise new questions about value types, whole-part semantics, copies, composite objects, ordering, and equality. Learn the importance of designing and implementing regular types in everyday programming and library design, discovering how proper type constraints and function prototypes lead to intuitive usage. Investigate the relationship between Regular types and STL constructs through examples, common pitfalls, and practical guidance. Gain insights into creating more robust and efficient C++ code by mastering the principles of regularity in type design.
Overview
Syllabus
Regular, revisited - Victor Ciura - Meeting C++ 2023
Taught by
Meeting Cpp