MCPcopy Create free account
hub / github.com/boost-ext/di / module2

Function module2

example/modules.cpp:53–58  ·  view source on GitHub ↗

<<`module2` configuration>>*/

Source from the content-addressed store, hash-verified

51
52/*<<`module2` configuration>>*/
53auto module2(const int& i) {
54 // clang-format off
55 return di::make_injector(
56 di::bind<int>().to(i)
57 );
58}
59// clang-format on
60
61/*<<module configuration with exposed `data`>>*/

Callers 4

mainFunction · 0.70
mainFunction · 0.50
di_bind.cppFile · 0.50
di_injector.cppFile · 0.50

Calls 2

make_injectorFunction · 0.50
toMethod · 0.45

Tested by

no test coverage detected