~/talk

Combining C++17 Features

Talkat NDC TechTown 2019 · 2019-09-02..09-05· [rust]
slides:none on file

Shows concrete C++17 recipes: use compile-time if plus if-with-init and scope_lock to lock zero or many mutexes without deadlock; use class template argument deduction but beware brace-init traps that deduce wrong array types; replace recursive variadic templates with fold expressions to remove instantiation overhead; use string_view to avoid copies and speed a sort about 2.5×; use parallel algorithms and a tree-based partial_sum to get ~10× on many cores; use std::variant + visit + overloaded lambdas for value‑semantics polymorphism.

AI-written summary · about

  1. 0:00Start
  2. 6:47Class Template Argument Deduction
  3. 10:10Scope Lock
  4. 11:36Initialization
  5. 17:29Templates Variadic Templates
  6. 18:15Recursive Instantiation
  7. 27:12Move Semantics
  8. 30:43Third Example
  9. 32:15String View
  10. 39:23Lifetime Profile
  11. 40:38Parallel Algorithms
  12. 42:08Parallel Partial Sum Function
  13. 45:06Polymorphism Overloading Lambdas
  14. 46:06Shared Pointers and Unique Pointers
  15. 46:58Keyboard Union
  16. 49:16Polymorphism
  17. 52:34Dynamic Pointer Cast
  18. 54:17Overload Lambdas
~/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.