Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
namespace di = boost::di;
16
17
int 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_view
Function · 0.85
module_model
Function · 0.85
make_injector
Function · 0.50
run
Method · 0.45
Tested by
no test coverage detected