~/talk

Traits Go Mainstream...

Talkat CppCon 2015 · 2015-09-21..09-25· [c-and-cpp]
links:none on file
slides:none on file

Shows that type traits become necessary once C++11 universal references start stealing overloads and breaking intent by matching almost everything. Demonstrates concrete fixes: universal reference greediness reproduces surprising overload wins, tag dispatch routes to widget vs nonwidget implementations, and using std::enable_if in return or dummy parameters disables templates for nonmatching types. Includes code snippets that disambiguate constructors and forwarding functions and confirms the techniques compile and select the expected overloads.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Overview
  3. 2:43Universal References
  4. 6:57SVA
  5. 8:38Enable
  6. 11:47Outro
~/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.