~/lightning

Best of think-cell's Range Library

Lightningat C++Now 2022 · 2022-05-01..05-06· [c-and-cpp]
slides:none on file

Range objects measure 16 bytes for a simple transform and still keep 16‑byte iterators even after adding a filter while the range grows to 24 bytes; chaining more views does not inflate iterator size. The library detects rvalue temporaries and stores temporaries inside the range instead of leaving dangling references, so a returned view can own the original vector. It also provides generator ranges that push values into a sink and a single inplace sort+unique algorithm born from 20 uses, 18 buggy.

AI-written summary · about

~/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.