~/lightning

Lightning Talk: FlexClass - Classes With Dynamic Size For Everyone

Lightningat CppCon 2021 · on Sunday, 2021-10-24· [frontend-architecture]
links:none on file
slides:none on file

A library that implements C style flexible array members for C++ by allocating a single blob with a tiny custom control block (refcount+size packed to eight bytes) and adjacent arrays in-place, so allocation happens once and objects are constructed into that blob. It supports non‑trivial types, multiple arrays (example: three strings, 17 beads and eight folds), correct alignment, exception safety, allocators and customizable handles like make_block.

AI-written summary · about

  1. 0:00Introduction to Flex Class
  2. 1:05Challenges in manual memory
  3. 2:05Implementing flex class
  4. 3:24Advanced features and usage
~/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.