~/talk

Ranges for the Standard Library

Talkat CppCon 2015 · 2015-09-21..09-25· [c-and-cpp]
links:none on file
slides:none on file

Demonstrates a concrete library (range-v3) and a working console calendar built by composing lazy views and eager actions, including a custom chunk/interleave/transpose trio that turns a range of dates into side‑by‑side months. Shows this composes without mutable state or explicit loops (one if only), uses Boost.DateTime and Boost.Format for IO, and highlights proposals for Concepts, range algorithms, sentinels and a TS toward stl2 — the example compiles and runs and the adapters are reusable.

AI-written summary · about

  1. 0:00Introduction
  2. 0:15The Ranges concept
  3. 2:28Creating a range of dates
  4. 6:11Views and lazy computation
  5. 8:46Grouping by months
  6. 13:10Composing range adapters
  7. 15:02Grouping by weeks
  8. 17:14Formatting calendar output
  9. 23:04Actions vs views
  10. 25:05Adding month headers
  11. 27:37Padding and final structure
  12. 29:58Side-by-side layout
  13. 32:37Implementing custom adapters
  14. 38:32Transposing ranges
  15. 41:07Implementing range facade
  16. 47:55Final code and conclusions
  17. 53:03Ranges in C++ standard
  18. 59:48Q&A
~/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.