“Recreational C++”
summary
A series of small C++ experiments implements and tests type traits, tuples/pair reworkings, and coding-style probes, with concrete techniques and outcomes: primary implementations use a boolean variable-template (is_function_v) and a compile-time overload-priority/tag-dispatch sequence to cover weird function types; an is_integral via operator sniffing uses overloaded unary plus/multiplication to detect fundamental integers. A handwritten test battery of ~10,000 static assertions (including up to 18‑dim arrays) exposes compiler bugs, name‑mangling collisions, and shows some optimizations erase hoped compile‑time wins, while some designs enter Bloomberg code.
AI-written summary · about
