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

Function main

example/modules/main.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace di = boost::di;
16
17int main() {
18 auto injector = di::make_injector(module_view(), module_model());
19 return injector.create<controller>().run();
20}

Callers

nothing calls this directly

Calls 4

module_viewFunction · 0.85
module_modelFunction · 0.85
make_injectorFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected