Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/di
/ eager_singletons
Function
eager_singletons
example/eager_singletons.cpp:50–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
49
template <class TInjector>
50
void eager_singletons(const TInjector& injector) {
51
create_singletons_eagerly(typename TInjector::deps{}, injector);
52
}
53
//->
54
55
auto configuration = [] {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected