C++ Notes

Short, example-first notes on the corners of C++ I keep coming back to: templates, compile-time computation and the standard library.

C++ logo
  1. 1Template explicit vs implicit specialization
  2. 2Why foo(0) is ambiguous: ill-formed overloaded calls
  3. 3Template metaprogramming: Fibonacci
  4. 4Template metaprogramming: Factorial
  5. 5Lambda expressions in C++
  6. 6constexpr in C++
  7. 7Struct vs class in C++
  8. 8Variadic templates in C++
  9. 9Tuples in C++
  10. 10Unordered map in C++