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

Function main

example/tutorial/basic_split_your_configuration.cpp:110–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108};
109
110int main() {
111 auto use_gui_view = true;
112
113 // clang-format off
114 auto injector = di::make_injector(
115 model_module()
116 , app_module(use_gui_view)
117 );
118 // clang-format on
119
120 injector.create<app>();
121}

Callers

nothing calls this directly

Calls 3

model_moduleFunction · 0.85
app_moduleFunction · 0.85
make_injectorFunction · 0.50

Tested by

no test coverage detected