C++ Cryptozoology - A Compendium of Cryptic Characters
summary
Covers concrete C++ oddities: shows abominable function types — syntactically valid function types that only make sense as class method declarations — and explains why they compile. Demonstrates a real undefined behavior example: a global function pointer initialized to null, later invoked, provokes UB that made GCC emit code erasing a drive; mentions using UBSan to catch such cases. Explains template duck‑typing, upcoming concepts for constrained templates, and the C++20 three‑way comparison (operator<=> = default) generating efficient memberwise ordering.
AI-written summary · about
chapters (4)
- 0:00Start
- 1:38Abominable Abominable Function Types
- 13:34Flying Saucers
- 15:48Totally Ordered Member Wise Comparison
related talks
29mC++ Cryptozoology - A Compendium of Cryptic Characters
30mC++ Cryptozoology - A Compendium of Cryptic Characters :: #2
15mC++ WAT
53mC++ Features You Might Not Know
52mNon-conforming C++: the Secrets the Committee Is Hiding From You
19mLightning Talk: Your Favorite Undefined Behavior in C++
52mC++ Puzzlers
51mC++ Features You Might Not Know
