~/talk

Resolving Template MetaProgramming Challenges Using Type_expr

Talkat CppNorth 2022 · 2022-07-18..07-20· [c-and-cpp, compilers-and-language-design]
links:none on file
slides:none on file

Type_Expr is a C++ TMP library that rewrites and extends Fabio.npl ideas and shows concrete techniques: crash compiler to inspect types via diagnostic-driven debugging and an eval_pipe style pipeline, a zip-with-index approach to build element storage, and a constructor-tag trick that maps a sorted tuple by type size back to positional arguments to minimize layout. It demonstrates a limited std::format clone using the detection idiom for selective indexing, and supports compile-time function generation like compile-time eval/eval_pipe plus helpers (fork, respectively, repeat, group_by, unique).

AI-written summary · about

  1. 0:00Introduction to library
  2. 1:07Debugging template metaprogramming
  3. 5:26Simple Tuple implementation
  4. 13:42Expanding type lists
  5. 19:20Optimizing Tuple storage
  6. 28:48Limited std::format implementation
  7. 41:20Comparison with other libraries
  8. 50:20Library functions showcase
  9. 1:00:52Q&A and performance
~/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.