~/talk

From STL to Ranges: Using Ranges Effectively

Talkat CppCon 2019 · 2019-09-15..09-20· [c-and-cpp]
links:none on file
slides:none on file

Coverage of C++20 ranges with concrete code, three implementations tested (range-v3, cmcstl2, nanorange), and production experience on GCC/Linux; demonstrates that views are lazy and cheap to copy, shows piping vs constructor forms, explains that many algorithms return iterators and projections add a third parameter for key extraction, introduces span and string_view as contiguous ranges, notes some algorithms (accumulate/numeric) are missing and performance differences are anecdotal.

AI-written summary · about

  1. 0:00Introduction to Ranges
  2. 10:14Ranges Basics and Concepts
  3. 22:23Range-based For Loops
  4. 32:13Views in Detail
  5. 39:17string_view and span
  6. 43:18Common View Types
  7. 49:31Performance Observations
  8. 55:40Q&A Session
~/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.