~/talk

Meta Polymorphism

Talkat Meeting C++ 2020 · 2020-11-12..11-14· [rust]
links:none on file
slides:none on file

Claim: C++ offers many kinds of polymorphism beyond virtual functions, and the talk demonstrates concrete techniques that work. It shows polymorphism at pre-processing compilation link and runtime, macros (mccarran) for compile-time hooks, templates and explicit instantiation with a “Chinese wall” for tests, link-time mocking with fcm, visitor and registry maps to emulate multiple dispatch, and value-semantics type‑erasure using any + lambda to avoid heap allocations — each described with code patterns and when they succeed or cost you.

AI-written summary · about

  1. 0:00Start
  2. 2:07Polymorphism is not going away
  3. 5:21DISCLAIMER
  4. 9:35Application: mocking
  5. 13:36Explicit instantiation
  6. 16:25Moments of resolution in C++ FOR MOCKING
  7. 19:27Dispatching
  8. 34:44Scott Meyer's double dispatch
  9. 38:48The bigger picture of polymorphism
  10. 39:39Nature of polymorphism
  11. 41:22A group of functions
~/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.