~/talk

C++ Features You Might Not Know

Talkat C++ on Sea 2023 · 2023-06-28..06-30· [c-and-cpp]
links:none on file
slides:none on file

Covers concrete, surprising C++ behaviors with examples: array indexing is commutative indexing (a[b] == b[a]); unary + forces integral promotions, decays arrays to pointers and converts captureless lambdas to function pointers; use a fold over comma to call a function on a parameter pack; operator overloads can break expectations (no short‑circuit for &&/||, overloadable operator-> and comma); dynamic_cast to void yields object base address; sizeof has lower precedence than [] so the canonical sizeof precedence trick yields 1, not the string length.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Arrays
  3. 1:25Unit
  4. 2:34Use Cases
  5. 3:12Comma Operator
  6. 4:25Overload Operators
  7. 7:10Overloads
  8. 7:43Member Pointer
  9. 10:37Syntax
  10. 14:58Standards
  11. 16:24NewByIns
  12. 17:42Floating Point Exceptions
  13. 19:38Not Numbers
  14. 20:37Not Syntax
  15. 22:31Declarators
  16. 26:54Functions Package
  17. 31:18Union
  18. 33:37Lambdas
  19. 35:05Vector
  20. 36:43Exceptions
  21. 38:02Jump
  22. 39:29Unified Behavior
  23. 43:00String Network
  24. 44:40Size of Index
  25. 45:54Division
~/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.