~/talk

An Overview of Standard Ranges

Talkat ACCU 2021 Online · 2021-03-10..03-13· [c-and-cpp]
slides:none on file

C++20 adds concept-checked, range-based algorithms, projections (pass a member pointer like Employee::id instead of custom comparators), and lazy views (filter|transform pipelines that don’t allocate and can stream a file without loading it). New unreachable_sentinel lets the compiler drop an inner comparison and in one example yields a reported ~10× inner-loop speedup. Range overloads accept whole containers, give clearer constraint errors, and you can try implementations today with range-v3 or NanoRange and modern GCC/MSVC builds.

AI-written summary · about

  1. 0:00Start
  2. 13:41What is a range, anyway?
  3. 18:01Concepts
  4. 30:33Constrained algorithms
  5. 36:31Range-based overloads
  6. 39:44Sentinels
  7. 50:52Projections
~/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.