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

Function module

benchmark/bind_interface/fruit.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19};
20
21fruit::Component<I> module() {
22 // clang-format off
23 return fruit::createComponent()
24 .bind<I, Impl>();
25 // clang-format on
26}
27
28std::unique_ptr<I> test() {
29 fruit::Injector<I> injector{module()};

Callers 1

testFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected