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

Method dependency1

example/deduce_scope.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25struct dependency1 {
26 dependency1(std::shared_ptr<interface> spi /*shared*/
27 ,
28 const std::shared_ptr<interface>& spi_ /*shared*/)
29 : spi_(spi), spi__(spi_) {
30 assert(spi.get() == spi_.get());
31 }
32
33 std::shared_ptr<interface> spi_;
34 std::shared_ptr<interface> spi__;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected