MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / static_shared_from_this

Function static_shared_from_this

extern/boost/boost/thread/future.hpp:106–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104{
105 template <class T>
106 shared_ptr<T> static_shared_from_this(T* that)
107 {
108 return static_pointer_cast<T>(that->shared_from_this());
109 }
110 template <class T>
111 shared_ptr<T const> static_shared_from_this(T const* that)
112 {

Callers 7

initMethod · 0.85
initMethod · 0.85
initMethod · 0.85
launch_continuationMethod · 0.85
launch_continuationMethod · 0.85
launch_continuationMethod · 0.85
launch_continuationMethod · 0.85

Calls 1

shared_from_thisMethod · 0.80

Tested by

no test coverage detected