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

Method create

example/custom_scope.cpp:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 /*<<create shared_ptr when in scope out of provider pointer>>*/
44 template <class, class, class TProvider>
45 custom_wrapper create(const TProvider& provider) const noexcept {
46 return std::shared_ptr<T>{provider.get()};
47 }
48 };
49};
50

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected