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

Method FromReference

include/cpp/marshal/ValueType.hpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22template<class T>
23inline T cpp::marshal::ValueType<T>::FromReference(const ValueReference<T>& inRHS)
24{
25 if (nullptr == inRHS.ptr)
26 {
27 ::hx::NullReference("ValueType", true);
28 }
29
30 return *inRHS.ptr;
31}
32
33template<class T>
34inline cpp::marshal::ValueType<T>::ValueType() : value() {}

Callers

nothing calls this directly

Calls 1

NullReferenceFunction · 0.85

Tested by

no test coverage detected