C++ Koans
summary
Seven short koans present concrete developer traps and the exact outcomes so you can choose. Examples include a promised lock-free queue that is not lock-free, an O(n^2) solution typed to finish a sprint where n = 10, following the Rule of Zero via studying Hinnant and Dimov pointers, swapping std::list vs std::vector that crashes because an undocumented requirement existed, and pervasive shared_ptr use that hides ownership and causes runaway responsibility.
AI-written summary · about








