~/talk

A new look at TMP

Talkat Meeting C++ 2018 · 2018-11-15..11-17· [rust]
links:none on file
slides:none on file

Argues that TMP remains useful mainly for type-level programming and demonstrates concrete techniques: writing meta-functions as using-alias meta-functions, falling back from nested value_type to iterator-based decay/remove_cvref, and implementing predicate checks with void_t detection idiom and template-template higher‑order metafunctions. Provides a working C++17 detector implementation, shows how to define sum overloads chosen by requires/detection, and notes that some concept-based examples fail on current GCC/MSVC despite working with clang or in experimental namespaces.

AI-written summary · about

  1. 0:00Intro
  2. 1:24Disclaimer
  3. 2:01Meta-programming
  4. 2:39Meta-functions
  5. 4:53Terse syntax
  6. 7:01General syntax
  7. 9:36Terse accessors
  8. 13:26Deducing types
  9. 15:21Writing out the exact types
  10. 18:23Duck-oriented programming
  11. 23:57Back to the drawing board
  12. 24:55The void
  13. 25:33Discarding overloads
  14. 26:03Detecting nested types
  15. 28:03Adding more constraints
  16. 30:19The detector backend
  17. 32:11Detection
  18. 38:02Questions
~/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.