~/talk

I Wish I Could Use C++ 1x/y/z

Talkat CppCon 2017 · 2017-09-24..09-29· [software-architecture]
slides:none on file

Demonstrates how to reproduce C++14/17 features on C++11/14 by concrete recipes: generic/variadic lambdas via an poly overload aggregator that composes overload sets; fold emulation using the initializer_list trick to expand packs without deep recursion; constexpr if approximated with SFINAE/select plus polymorphic lambdas to delay compilation of unused branches; integer_sequence built by recursive range-concatenation with logarithmic recursion depth. Reports which GCC/Clang/MSVC versions actually implement each feature, notes small reimplements of missing std pieces, and estimates moderate engineering cost vs. just upgrading.

AI-written summary · about

  1. 0:00Introduction and poll
  2. 1:28Why upgrade to modern C++
  3. 4:01Barriers to C++ migration
  4. 7:19Emulating C++14/17 features
  5. 10:41Polymorphic lambdas in C++11
  6. 21:09Fold expressions alternatives
  7. 29:28Constexpr if without C++17
  8. 38:27Integer sequence emulation
  9. 44:34Should you emulate features?
  10. 47:12Q&A on standard library gaps
~/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.