Migration of C++ Libraries to C++14
summary
Claims a full, idiomatic rewrite to C++14 yields real wins: replace macros and obscure Boost MPL with auto/decltype everywhere, variadic templates and pack‑expansion hacks, and generic lambdas. Specific tools include initializer‑list fold (comma trick), nonrecursive pack transforms, and lambda‑as‑type containers to shrink symbol names. Results: compile times drop by ~20–30% in many places and up to 2x for some expression templates, heavy Boost dependencies vanish, and a faster, compact expression‑template implementation is built and works — but only after a substantial rewrite.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 3:32Sustainable C
- 5:30Whats going on
- 10:50Compile time
- 15:10Autotype
- 22:38Via Templates
- 25:14Predicates
- 37:18lambda function
- 39:46compose function
- 43:38regular functions
- 44:56generic lambdas
- 46:33lambda R
- 48:52lambda
- 50:01Example
- 56:34Expression Templates
- 58:59lambdas
related talks
01h 10mThe Three Little Dots and the Big Bad Lambdas
49mImprove your C++ with inspirations from other languages
01h 38mC++20: Reaching for the Aims of C++
01h 05mC++11 in the Wild: Techniques from a Real Codebase
56mPractical C++17
45mBetter C++14 reflections
01h 02mAn Overview of C++11/14, Part I
01h 00mC++23 tools you would actually use
