~/talk

Practical C++17

Talkat Meeting C++ 2017 · 2017-11-09..11-11· [rust]
slides:none on file

Applying C++17 to a 25k LOC project shows concrete wins and pitfalls: ChaiScript (25k LOC) used as the testbed reveals noexcept in the type system gives ~1% runtime improvement but forces doubled overloads for C++14 compatibility, structured bindings can silently break RVO and blow up generated code, and adding a transparent comparator for string_view yields ~2% runtime savings while careless string_view use creates dangerous temporaries. Fold expressions, in_place_back and deduction guides help maintainability and overload support.

AI-written summary · about

  1. 0:00Introduction and background
  2. 3:29C++17 feature overview
  3. 4:40Structured bindings and if
  4. 6:12Standard library improvements
  5. 7:54Introducing string view
  6. 8:37Nested namespaces
  7. 9:11Template type deduction
  8. 11:13Compile-time if
  9. 11:52Fold expressions
  10. 13:56Noexcept in type system
  11. 15:54Impact of noexcept on code
  12. 20:47Impact of if constexpr
  13. 22:06Impact of if init expressions
  14. 25:29Impact of nested namespaces
  15. 27:18Impact of template deduction
  16. 35:06Impact of structured bindings
  17. 41:02Impact of fold expressions
  18. 43:28Impact of in-place container
  19. 44:18Impact of string view
  20. 51:32Impact of if constexpr revisited
  21. 53:08Impact of deduction guides
~/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.