MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / orphan

Method orphan

include/daScript/misc/smart_ptr.h:196–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194 return ptr;
195 }
196 __forceinline T * orphan() {
197 T * t = ptr;
198 ptr = nullptr;
199 return t;
200 }
201 __forceinline operator bool() const {
202 return ptr != nullptr;
203 }

Callers 9

das_program_compileFunction · 0.80
das_program_deserializeFunction · 0.80
callMethod · 0.80
callMethod · 0.80
return_smartFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected