Modern C++ Design reloaded
summary
Argues that Alexandrescu-style patterns become practical with C++11/20 features and shows concrete techniques: continuation-based TMP with aliases, polymorphic wrapper (type erasure) for deep copies and stack/ROM placement, policy classes split into public interface and private state stored in a tuple plus factories, named-parameter expression templates, small-object optimization and custom vtables. Demonstrates a bare-metal USB stack and toolset that outperforms vendor C: ~4× smaller code, ~30% less RAM and roughly 2× faster on target microcontrollers.
AI-written summary · about
chapters (6)
- 0:00Introduction and background
- 7:19Policy based class design
- 27:19Modern C++ design concepts
- 43:48Embedded C++ challenges
- 1:01:10Policy implementation details
- 1:19:50Q&A and closing remarks








