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