~/talk

Some Things C++ Does Right

Talkat CppCon 2020 · 2020-09-14..09-18· [c-and-cpp]
links:none on file
slides:none on file

Argues that C++ rewards value-based by default reasoning and composes powerful primitives into concise solutions: shows std::remove_if + sequence constructor to filter a vector in two steps, implements file-read and function composition via iterator ranges and templated lambdas, demonstrates no-heap variadic printing with parameter packs and a variadic template sum computed at compile time, highlights fold expressions, std::unique_ptr for ownership, and using friend to enforce a two-step init pattern. Practical code examples compile and run with the standard library.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33Why love C++
  3. 4:53Beauty and elegance
  4. 11:55Functional composition
  5. 17:18Value semantics
  6. 25:45Local reasoning
  7. 29:34Free functions
  8. 32:46Const correctness
  9. 41:43Friend keyword
  10. 48:40Generic algorithms
  11. 52:05Expressive coding
~/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.