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

Method FromBoxed

include/cpp/marshal/ValueType.hpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11template<class T>
12inline T cpp::marshal::ValueType<T>::FromBoxed(const Boxed<T>& inRHS)
13{
14 if (nullptr == inRHS.mPtr)
15 {
16 ::hx::NullReference("ValueType", true);
17 }
18
19 return inRHS->value;
20}
21
22template<class T>
23inline T cpp::marshal::ValueType<T>::FromReference(const ValueReference<T>& inRHS)

Callers

nothing calls this directly

Calls 1

NullReferenceFunction · 0.85

Tested by

no test coverage detected