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

Method app

example/modules.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34struct app {
35 app(std::unique_ptr<interface> up, int i, double d, const data& data) {
36 assert(dynamic_cast<implementation1*>(up.get()));
37 assert(i == 42);
38 assert(d == 87.0);
39 assert(dynamic_cast<implementation2*>(data.sp.get()));
40 }
41};
42
43/*<<`module1` configuration>>*/

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected