diff --git a/Include/auROXTL/auTemplateMeta.hpp b/Include/auROXTL/auTemplateMeta.hpp index 8cc4b4dd..72b43e9c 100644 --- a/Include/auROXTL/auTemplateMeta.hpp +++ b/Include/auROXTL/auTemplateMeta.hpp @@ -108,30 +108,17 @@ inline constexpr bool AuIsReference_v = true; template inline constexpr bool AuIsReference_v = true; -// a lot of third party code uses typename std::is_lvalue_reference<>::type -// unlike other defintions, in this instance, getting to an _t/_v in less steps doesn't matter so much -template -struct AuIsLValueReference : AuFalseType -{}; +template +inline constexpr bool AuIsLValueReference_v = false; template -struct AuIsLValueReference : AuTrueType -{}; +inline constexpr bool AuIsLValueReference_v = true; + +template +inline constexpr bool AuIsRValueReference_v = false; template -inline constexpr bool AuIsLValueReference_v = AuIsLValueReference::value; - - -template -struct AuIsRValueReference : AuFalseType -{}; - -template -struct AuIsRValueReference : AuTrueType -{}; - -template -inline constexpr bool AuIsRValueReference_v = AuIsRValueReference::value; +inline constexpr bool AuIsRValueReference_v = true; template struct AuRemovePointer