13 return (A.m_type_id == B.m_type_id) && (A.m_data == B.m_data);
23 if (A.m_funcs !=
nullptr && A.m_funcs->ostream_func !=
nullptr)
24 return A.m_funcs->ostream_func(os, A);
26 os <<
"UserType<" << A.m_type_id <<
", 0x" << A.m_data <<
">";
Subtype of the value, capable of handling any C++ type.
A class to be use C++ objects in ArkScript.
void del()
Free memory through the control functions block.
bool operator<(const Namespace &, const Namespace &)
bool operator==(const Namespace &A, const Namespace &B)
std::ostream & operator<<(std::ostream &os, const UserType &A) noexcept