~/lightning

C++ Puzzlers

Lightningat CppCon 2014 · on Sunday, 2014-09-07· [rust]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 1:09Rules of the Puzzlers
  3. 2:13Puzzler One: Name Lookup
  4. 5:28Puzzler Two: Compiler Error
  5. 8:41C++ Style Discussion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.