~/talk

Range adaptors - 5 years after C++20

Talkat Meeting C++ 2025 · 2025-11-06..11-08· [frontend-architecture]
slides:none on file

Ranges are large and specific: the talk argues that borrowing vs owning views is a real API-level distinction, documents that some adapters (filter) are non-borrowed while others (views::take) are borrowed, and shows the concrete performance bug—filter then reverse yields apparent O(N^2) unless the view caches begin on first iteration. It calls out single-pass generators and lifetime pitfalls, points to the opt‑in borrowed_range trait, and demonstrates why const‑iterability and iterator ownership are the core design tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 3:57Talk on ranges controversy
  3. 9:19Design decisions
  4. 11:29Core concepts
  5. 27:32Minimal vs meaningful categories
  6. 30:46Indirection and lifetime issues
  7. 45:45Range adapters and types
  8. 47:33Caching begin in adapters
  9. 53:18Indirection forms in adapters
  10. 57:12Evolving view concept
  11. 1:00:00Summary
~/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.