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

Function model_module

example/tutorial/basic_split_your_configuration_expose.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82//->
83
84di::injector<model&> model_module() {
85 // clang-format off
86 return di::make_injector(
87 di::bind<int>().named(Rows).to(6)
88 , di::bind<int>().named(Cols).to(8)
89 );
90 // clang-format on
91}
92
93di::injector<app> app_module(const bool& use_gui_view) {
94 // clang-format off

Callers 2

app_moduleFunction · 0.85
mainFunction · 0.85

Calls 3

make_injectorFunction · 0.50
toMethod · 0.45
namedMethod · 0.45

Tested by

no test coverage detected