~/talk

A clean and minimal map API

Talkat C++Now 2019 · 2019-05-05..05-10· [software-architecture]
slides:none on file

Proposes a map with four concrete operations lookup insert update remove where lookup returns success plus key and value, insert returns whether an insertion happened plus key/value, update inserts if missing and otherwise replaces, and remove returns ownership of the removed key/value. Implements lazy and emplacement overloads that call user callables only on actual inserts, a small‑size optimization with inline buffer plus a type eraser map_ref and a fast read‑only map_view that precomputes buffer pointers for much faster repeated reads.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22Four fundamental map APIs
  3. 0:39Model
  4. 0:58Key
  5. 1:18Update
  6. 2:16Other APIs
  7. 2:55Map API
  8. 3:08Overloads
  9. 3:37Updating
  10. 3:49Overload
  11. 4:05lambdas
  12. 4:40vote
  13. 5:43map ref type
  14. 6:04type ratio
  15. 7:09conversion operators
~/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.