diff --git a/clingwrapper/src/clingwrapper.cxx b/clingwrapper/src/clingwrapper.cxx index 6df99240..c85383a6 100644 --- a/clingwrapper/src/clingwrapper.cxx +++ b/clingwrapper/src/clingwrapper.cxx @@ -532,6 +532,14 @@ Cppyy::TCppType_t Cppyy::GetReferencedType(TCppType_t type, bool rvalue) { return Cpp::GetReferencedType(type, rvalue); } +bool Cppyy::IsRValueReferenceType(TCppType_t type) { + return Cpp::IsRValueReferenceType(type); +} + +bool Cppyy::IsLValueReferenceType(TCppType_t type) { + return Cpp::IsLValueReferenceType(type); +} + bool Cppyy::IsClassType(TCppType_t type) { return Cpp::IsRecordType(type); } diff --git a/clingwrapper/src/cpp_cppyy.h b/clingwrapper/src/cpp_cppyy.h index 80acf04f..aab3b9fb 100644 --- a/clingwrapper/src/cpp_cppyy.h +++ b/clingwrapper/src/cpp_cppyy.h @@ -90,6 +90,10 @@ namespace Cppyy { RPY_EXPORTED std::string ResolveEnum(TCppScope_t enum_scope); RPY_EXPORTED + bool IsLValueReferenceType(TCppType_t type); + RPY_EXPORTED + bool IsRValueReferenceType(TCppType_t type); + RPY_EXPORTED bool IsClassType(TCppType_t type); RPY_EXPORTED bool IsPointerType(TCppType_t type);