Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/di
/ module
Function
module
benchmark/bind_interface/dicpp.cpp:23–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
};
22
23
void module(di::registry& r) {
24
// clang-format off
25
r.add(r.type<I>().implementation<Impl>());
26
// clang-format on
27
}
28
29
std::unique_ptr<I> test() {
30
di::injector injector;
Callers
1
test
Function · 0.70
Calls
1
add
Method · 0.80
Tested by
no test coverage detected