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

Method example

example/example.cpp:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121class example {
122 public:
123 example(std::unique_ptr<direct> d, interface &ref, int i) : i_(i) {
124 assert(false == d->uniform_.b);
125 assert(d->sp_.get() == d->uniform_.sp.get());
126 assert(&ref == d->sp_.get());
127 }
128
129 auto run() const { return i_ == 42; }
130

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected