MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / FromBoxed

Method FromBoxed

include/cpp/marshal/PointerReference.hpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18template<class T>
19template<class O>
20inline O* cpp::marshal::PointerReference<T>::FromBoxed(const Boxed<O>& inRHS)
21{
22 if (nullptr == inRHS.mPtr)
23 {
24 return nullptr;
25 }
26
27 return const_cast<O*>(&inRHS->value);
28}
29
30template<class T>
31template<class O>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected