~/talk

Talking to Typelists

Talkat CppCon 2018 · 2018-09-23..09-28· [c-and-cpp, compilers-and-language-design]
links:none on file
slides:none on file

Demonstrates how legacy typelist meta‑algorithms get reused for modern variadic type and index sequences by automatically translating formats, predicates, and comparators via alias templates so existing algorithms like partition and set_intersection work on index sequences too. Uses alias templates and an index_to_type adaptor to convert index sequences ↔ type sequences, converts index predicates into type predicates, and generates index versions of algorithms (e.g. sort_is). Implementation compiles and runs at compile time; source and slides are on the CppCon2018 GitHub.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:05What are typelists
  3. 3:17Typelist basics and history
  4. 5:25Modern typelists with variadic templates
  5. 7:12Typelist algorithms like partition
  6. 8:40Type sequences vs typelists
  7. 11:30Set intersection for type sequences
  8. 14:51Converting integers to types
  9. 16:00Index sequences and typelists
  10. 18:29Predicates and comparators
  11. 21:44Converting index sequences
  12. 23:30Compile-time parsing with index sequences
  13. 24:57Benefits of templated usings
  14. 26:26Challenge for template lists
  15. 27:08Godel numbering in C++ types
  16. 28:57Conclusion and resources
~/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.