~/talk

[Boost].DI - Inject all the things!

Talkat CppCon 2018 · 2018-09-23..09-28· [rust]
links:none on file
slides:none on file

Claims a small generated header library called [BOOST].DI that is not part of Boost and requires no STL, able to deduce constructors and inject by value, reference, unique_ptr, templates or named concepts, producing compile‑time errors when a binding is unsatisfied. Binding syntax maps interfaces or template parameters to concrete types, and the injector can create mocks for gunit so tests get auto-generated doubles. Examples show pragmatic manual versus automatic injection and that the injector actually constructs working objects.

AI-written summary · about

  1. 0:00Start
  2. 0:08DEPENDENCY INJECTION
  3. 1:20INJECT BY DEFAULT (CREATE OBIECT GRAPH)
  4. 1:55INJECT/REFACTOR
  5. 3:33INJECT TEMPLATES/CONCEPTS
  6. 4:59LET'S INJECT ALL THE THINGS!
~/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.