Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boost-ext/di
/ main
Function
main
example/polymorphism/concepts.cpp:40–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
};
39
40
int main() {
41
std::stringstream str{};
42
auto example = config().create<App>();
43
example.draw(str);
44
assert(
"Square"
== str.str());
45
}
46
47
//<-
48
#else
Callers
nothing calls this directly
Calls
2
config
Class · 0.50
draw
Method · 0.45
Tested by
no test coverage detected