MCPcopy Create free account
hub / github.com/Dobiasd/FunctionalPlus / make_shared_ref

Function make_shared_ref

include/fplus/shared_ref.hpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48// http://stackoverflow.com/a/41976419/1866775
49template <typename T, typename... Types>
50shared_ref<T> make_shared_ref(Types&&... args)
51{
52 return shared_ref<T>(new T(std::forward<Types>(args)...));
53}
54
55} // namespace fplus

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected