~/talk

Many an `any`

Talkat ACCU 2022 · 2022-04-06..04-09· [c-and-cpp]
links:none on file
slides:none on file

Implements several concrete std::any designs starting from a minimal version that stores the value on the heap via a void pointer plus a templated deleter and clone function, fixes forwarding-reference recursion with std::remove_cvref/decay, makes move operations noexcept using std::exchange, and adds an owned-object variant with virtual clone plus an embedded small-object buffer option. Explores allocator-aware (pmr) trade-offs and constexpr limits, attempts microbenchmarks but reports no reliable results yet.

AI-written summary · about

  1. 0:00Start
  2. 4:04What Is the any Type
  3. 4:44Can You Store Functions
  4. 6:41Member Function Templates
  5. 12:12Risks
  6. 13:40Goals of this Session
  7. 16:12Interface
  8. 36:34Standard Exchange
  9. 38:49Copy Assignment
  10. 46:05Anycast
  11. 1:04:33Excessive Allocations
  12. 1:12:33Pmr Allocators
  13. 1:12:56Principle of the Pmr Allocator
~/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.