~/talk

Re-Release: 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

Describes concrete new range concepts implemented in a think‑cell library (C++23 subset, using some C++26 conveniences): reserve_hint / approximately sized ranges to propagate size hints through views; a push‑based customization point for_each_while(rng, sink) that replaces pull iterators for faster inlined loops; chunk-aware syncs to memcpy contiguous pieces; compile‑time‑sized and heterogeneous (tuple) generators to do metaprogramming and emit compile‑time strings. Presents working library code, worked examples (file reader, tab→spaces pipeline) and tradeoffs where some proposals were rejected or need standard wording changes.

AI-written summary · about

  1. 0:00Introduction
  2. 2:31Performance optimizations for ranges
  3. 10:12State machines in iterators
  4. 15:46Push vs pull model
  5. 22:43For each customization point
  6. 28:03Chunking and memory optimization
  7. 31:14Compile-time string manipulation
  8. 37:57Early vs late evaluation
  9. 43:55Homogeneous vs heterogeneous generators
  10. 50:15Compile-time sized ranges
  11. 56:15Undefined behavior with infinite ranges
  12. 1:06:51Summary
~/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.