MCPcopy Create free account
hub / github.com/3rdparty/libprocess / get

Method get

include/process/owned.hpp:117–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116template <typename T>
117T* Owned<T>::get() const
118{
119 if (data == nullptr) {
120 return nullptr;
121 } else {
122 // Static cast to avoid ambiguity in Visual Studio compiler.
123 CHECK(data->t != static_cast<T*>(nullptr))
124 << "This owned pointer has already been shared";
125
126 return data->t;
127 }
128}
129
130
131template <typename T>

Callers 15

mainFunction · 0.45
ControlFlowClass · 0.45
startMethod · 0.45
runMethod · 0.45
routeMethod · 0.45
callMethod · 0.45
lookup_hostnameMethod · 0.45
AddressClass · 0.45
AddressMethod · 0.45
fromMethod · 0.45
AwaitAssertFailedFunction · 0.45
AwaitAssertDiscardedFunction · 0.45

Calls

no outgoing calls

Tested by 14

AwaitAssertFailedFunction · 0.36
AwaitAssertDiscardedFunction · 0.36
AwaitAssertAbandonedFunction · 0.36
AwaitAssertEqFunction · 0.36
AwaitAssertExitedFunction · 0.36
AwaitAssertExitStatusEqFunction · 0.36
AwaitAssertExitStatusNeFunction · 0.36
AwaitAssertSignaledFunction · 0.36
AwaitAssertTermSigEqFunction · 0.36
AwaitAssertTermSigNeFunction · 0.36