~/talk

Rethinking the Way We Do Templates in C++

slides:none on file

Library implements a physical-units system that keeps debuggable, human-readable types by deriving user-facing strong types from heavy template instantiations via a downcast CRTP trick, replaces class-template-heavy ratios with non-type template parameters (string and ratio values) and uses concepts instead of SFINAE to constrain interfaces. Benchmarks with metabench show NTTP/value-based designs cut compile time from tens of seconds to a few seconds in hotspot tests and concepts compile faster than complex SFINAE on modern compilers.

AI-written summary · about

  1. 0:00Start
  2. 1:44The User Experience
  3. 2:32What the Physical Units Library Does
  4. 27:17Donecast Implementation
  5. 32:09Non-Type Template Parameters
  6. 36:16Template Argument Equivalent
  7. 43:08What Are Concepts Class Function
  8. 55:16Benefits of Using Concepts
  9. 1:02:07Parameter Kinds
  10. 1:08:36Performance
  11. 1:18:03Performance Outcome
  12. 1:20:52What Is the Performance of Concepts
~/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.