C++ Puzzlers
summary
A rapid sequence of concrete C++ brainteasers with code and answers: shows using directive vs using declaration and why one compiles and the other errors, demonstrates a trivial edit that creates unintended recursion and a stack overflow from hidden recursion, and argues a clear style takeaway to prefer out-of-class inline definitions (option three). Slides and source live at https://github.com/CppCon/CppCon2014 so every example is reproducible and runnable.
AI-written summary · about
chapters (5)
- 0:00Introduction
- 1:09Rules of the Puzzlers
- 2:13Puzzler One: Name Lookup
- 5:28Puzzler Two: Compiler Error
- 8:41C++ Style Discussion








