~/talk

Concept Maps using C++23 Library Tech - Indirection to APIs for a Concept

Talkat C++Now 2024 · 2024-04-29..05-03· [c-and-cpp]
links:none on file
slides:none on file

Shows a C++23 library technique that recreates much of lost "concept map" indirection using inline variable templates plus deducing this and CRTP, giving type-based lookup without ADL and zero runtime overhead. Presents a concrete fringe/binary tree with monoidal tags that can act like vector/deque, priority_queue or map by changing the tag monoid; implementation uses shared_ptr for nodes, emits DOT for debugging, is not self‑balancing, and the prototype compiles and performs as expected at the cost of some syntactic noise.

AI-written summary · about

  1. 0:00Introduction to concept maps
  2. 2:15Alternatives and limitations
  3. 3:39Example with equality comparable
  4. 7:35Desired solution requirements
  5. 12:58Implementing partial equality
  6. 17:47Monoid concept explained
  7. 25:12Concept map for monoid
  8. 33:50Concrete monoid instances
  9. 36:46Simple usage examples
  10. 39:20Monoids in trees and data structures
  11. 46:51Fringe tree implementation
  12. 59:00Applications and benefits
  13. 1:03:40Q&A session
~/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.