~/talk

50 shades of C++

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [rust]
slides:none on file

Explains concrete fixes and surprising gotchas: prefer brace initialization by default and avoid parentheses or equals signs; use pass-by-value-and-move for setters to avoid double allocation; watch a returned-reference into a range‑for causing undefined behavior; C++17 value‑category renames and universal/forwarding reference rules cause subtle template surprises; ADL bugs in filesystem::path get resolved with hidden friends for operator==; a 200‑programmer project adopts the style in three months, showing the proposal actually works in practice.

AI-written summary · about

  1. 0:00Intro
  2. 2:03First touch
  3. 3:43Initialization
  4. 5:43Multiple ways to initialize
  5. 10:04Almost always auto
  6. 17:13Move semantics
  7. 25:41Hidden France
  8. 32:26There is no single style
  9. 33:21Where are we
  10. 33:59How we are
  11. 34:37Not paid
  12. 35:34The numbers
  13. 36:59Virginia Satya change model
  14. 38:51Value categories
  15. 42:41Diagram
  16. 54:03Bondage
~/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.