~/talk

Vocabulary Types for Composite Class Design

Talkat C++ on Sea 2022 · 2022-07-05..07-07· [c-and-cpp, component-design]
links:none on file
slides:none on file

Proposal of two concrete class templates, polymorphic_value and indirect_value, that let composite classes own objects as values so the compiler can generate correct copy/move/destructors and const propagation. Reference implementations are single-header, MIT-licensed libraries; polymorphic_value uses type erasure with a control block to clone derived objects (plus a risky pointer+copier constructor for migration), while indirect_value stores incomplete types with customizable copier/deleter and uses empty-base optimization to avoid overhead. Papers are in flight.

AI-written summary · about

  1. 0:00Start
  2. 8:28const propagation and reference types
  3. 10:43Indirect storage
  4. 11:20Incomplete types
~/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.