~/talk

Missing (and future?) C++ Range Concepts

Talkat C++ on Sea 2025 · 2025-06-23..06-25· [c-and-cpp]
links:none on file
slides:none on file

Range concepts and library changes that enable real optimizations and compile-time metaprogramming: adds approximate-sized ranges/reserve_hint to propagate size hints through views so join/transform can reserve efficiently; introduces a push model with a for_each_while customization point (and optional continuous-chunk callbacks) so join/transform/read-file become direct nested loops and enable memcpy-style appends; supports compile-time-sized heterogeneous generators (tuple-based) to build concat/filter/compile-time SQL strings; prototypes live in think-cell’s range library, most ideas work but some require C++26 or standard discussion.

AI-written summary · about

  1. 0:00Missing C++ Range Concepts
  2. 1:51Approximately sized ranges
  3. 10:12Performance with iterator state machines
  4. 22:43Push model and custom for-each
  5. 31:14Compile-time string manipulation
  6. 47:08Compile-time sized ranges
  7. 56:11Undefined behavior in infinite ranges
  8. 1:06:48Conclusion and future
~/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.