~/talk

std function, past, present, future

Talkat Meeting C++ 2022 · 2022-11-17..11-19· [rust]
links:none on file
slides:none on file

A concise, concrete itinerary: implements an Observer with C-style function pointers, measures std::function internals (type‑erasure metadata plus SSO buffer) and reports typical sizes as about five pointer widths and observed worst cases up to ten pointer widths, compares alternatives, and publishes code at OptimumCpp/short_function. Proposes a memory‑lean short function (mono_state-only, no dynamic allocation, size ≈ void) and a customizable line function* with user-controlled SSO, offers a CRTP function_base and template vars to eliminate UB and reduce allocations.

AI-written summary · about

  1. 0:00Start
  2. 2:25Examples of free function pointers
  3. 9:41Consequences of variadic template proposal
  4. 37:06Exact signature in generic functional libraries
  5. 42:19function CRTP base
  6. 46:03Core language improvements
  7. 50:19Summery of proposed tools
~/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.