~/talk

“Practical C++17”

Talkat CppCon 2017 · 2017-09-24..09-29
slides:none on file

Porting a 25k-line header-only project, ChaiScript, to C++17 yields concrete wins and traps: class template deduction guides collapse dozens of overloads and extend support to every method signature with no LOC increase; GCC 7.2 shows ~1–2% runtime gains from noexcept optimizations and custom transparent comparators; emplace_back returning a reference gives tiny speedups; structured bindings risk RVO loss and moves; beware string_view dangling pointers when storing views of temporary strings.

AI-written summary · about

  1. 0:00Introduction and context
  2. 5:06Feature overview and polling
  3. 19:17Noexcept and type systems
  4. 20:59If init expressions
  5. 25:21Nested namespaces
  6. 28:00Class template type deduction
  7. 34:19Structured bindings
  8. 38:56Fold expressions
  9. 41:24In-place back insertion
  10. 42:11String view mechanics
  11. 49:59If constexpr in practice
  12. 54:08Deduction guides and wrap-up
~/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.