~/lightning

Generic Binding

Lightningat Meeting C++ 2015 · 2015-12-04..12-05· [rust]
links:none on file
slides:none on file

Claim: a tiny generic bind implemented with C++11 variadic templates and C++14 generic lambdas plus perfect forwarding composes at compile time, so the compiler deduces which parameters remain unbound. Demo builds a Santa simulation that incrementally binds reindeers to a sleigh and shows the callable works, but also reproduces the common footguns: temporaries create dangling references and moved‑out captures break reuse unless wrapped or copied.

AI-written summary · about

  1. 0:00Start
  2. 2:38WITHOUT BOILERPLATE
  3. 3:36(VARIADIC) TEMPLATES
  4. 4:30VARIADIC LAMBDA
  5. 7:02RETURN TYPE DEDUCTION
  6. 7:35PERFECT FORWARDING
  7. 9:42BIND REINDEERS
~/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.