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

Function module_view

example/modules/module_view.cpp:17–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace di = boost::di;
16
17di::injector<view&> module_view() noexcept {
18 // clang-format off
19 return di::make_injector(
20 di::bind<ibutton>().to<button>()
21 , di::bind<iwindow>().to<window>()
22 );
23 // clang-format on
24}

Callers 1

mainFunction · 0.85

Calls 1

make_injectorFunction · 0.50

Tested by

no test coverage detected