~/talk

The Best Parts of C++

Talkat CppCon 2019 · 2019-09-15..09-20· [compilers-and-language-design]
slides:none on file

Survey of roughly 25 major features across C++98–C++20 shows concrete wins: make_unique (C++14) fixes common allocation idioms, guaranteed copy elision (C++17) removes surprising copies, and std::format/fmt lands for safer text output. Examples use unique_ptr, string_view, concepts, ranges, fold expressions, templates and lambdas to reduce errors and boilerplate. Tooling—sanitizers, static analysis and clang-modernize—gets legacy code modernized; claim is that memory bugs and awkward APIs largely disappear when these features are applied.

AI-written summary · about

  1. 0:00Intro
  2. 3:03The C++ Standard
  3. 7:21Deterministic Object Lifetime and Destruction
  4. 16:03List Initialization
  5. 17:23Variadic Templates
  6. 22:46Return type deduction for normal functions.
  7. 26:30Generic And Variadic Lambdas
  8. 29:43Structured Bindings
  9. 37:02Text Formatting
  10. 43:08rvalue References
  11. 43:21Guaranteed Copy Elision
  12. 48:30Defaulted and Deleted Functions
  13. 49:40std:: unique_ptr and std::make_unique
~/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.