A Tour of C++ Recognised User Type Categories
summary
Walk through which C++ user type categories actually change behavior across standards and why: shows concrete wording fixes (p0960, p1008), when bitwise copy is legal and why to check is_trivially_copyable, how union common initial sequences let you read matching prefix fields, why standard layout enables pointer reinterprets and offsetof, what became deprecated (POD and is_literal_type) and what is new in C++23 — implicit lifetime types and the start_lifetime_as facility for safely creating objects in raw storage.
AI-written summary · about
chapters (6)
- 0:00Start
- 17:32Standard layout types
- 17:53Standard Layout Class
- 28:16Trivially copyable type
- 36:03Literal types
- 53:51Implicit lifetime types
related talks
58mAn (In-)Complete Guide to C++ Object Lifetimes
01h 06mRegular Types: From Stepanov to C++ Concepts
01h 13mType safe C++ – LOL! :-)
01h 32mA Medley of C++
01h 20mWhat Classes We Design and How
04mPuzzler
01h 21mAn (In-)Complete Guide to C++ Object Lifetimes
01h 05mType Punning in C++17: Avoiding Pun-defined Behavior
