~/talk

No Concepts Beyond This Point: The Detection Idiom

Talkat CppCon 2016 · 2016-09-18..09-23· [c-and-cpp]
slides:none on file

Detection idiom implements is_detected/ detected_t and companions from Library Fundamentals TS V2 using void_t so you can write trait-style constraints without compiler concepts; includes is_detected_exact and is_detected_convertible, plus the sentinel none_such type. Examples show building real traits like swappable and an iterator checker (value_type, reference, increment, copyable, swappable), validated with static_asserts. Code runs in C++11/14 and lives on the linked GitHub so you can uncomment and reproduce the examples.

AI-written summary · about

  1. 0:00Start
  2. 0:31WHAT IS THE DETECTION IDIOM?
  3. 1:18WHAT DOES THE API LOOK LIKE?
  4. 2:06HOW DOES IT WORK?
~/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.