~/lightning

Pimpl idiom, multiple Inheritance and facet pattern

Lightningat Meeting C++ 2016 · 2016-11-18..11-19· [rust]
links:none on file
slides:none on file

C++11 library uses a shared_ptr pimpl with get_ptr downcast to make public objects immutable and shareable across containers, and it supports multiple inheritance with factory build functions returning private shared_ptr. Measured overhead is explicit: about 2x slower for direct access and 3x slower when downcasting to subclasses, which is acceptable because objects are constructed once. A facet pattern restricts which methods are visible per analysis view (by patient or by location) and the system works in production for clinical-data analysis.

AI-written summary · about

  1. 0:00Introduction
  2. 1:02The solution
  3. 1:31Pimpl
  4. 2:08Present class relationships
  5. 3:09Simple Inheritance
  6. 5:18facet pattern
~/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.