[*] I did not steal :(
This commit is contained in:
parent
c965d8384f
commit
4098bd0823
@ -51,7 +51,7 @@ template<class T>
|
|||||||
struct AuIsSame<T, T> : AuTrueType
|
struct AuIsSame<T, T> : AuTrueType
|
||||||
{};
|
{};
|
||||||
|
|
||||||
template< class T, class U >
|
template<class T, class U>
|
||||||
inline constexpr bool AuIsSame_v = AuIsSame<T, U>::value;
|
inline constexpr bool AuIsSame_v = AuIsSame<T, U>::value;
|
||||||
|
|
||||||
namespace _audetail {
|
namespace _audetail {
|
||||||
@ -89,23 +89,23 @@ struct AuIsBaseOf :
|
|||||||
>
|
>
|
||||||
{};
|
{};
|
||||||
|
|
||||||
template <typename Base, typename Derived>
|
template<typename Base, typename Derived>
|
||||||
inline constexpr bool AuIsBaseOf_v = AuIsBaseOf<Base, Derived>::value;
|
inline constexpr bool AuIsBaseOf_v = AuIsBaseOf<Base, Derived>::value;
|
||||||
|
|
||||||
template <class>
|
template<class>
|
||||||
inline constexpr bool AuIsPointer_v = false;
|
inline constexpr bool AuIsPointer_v = false;
|
||||||
|
|
||||||
template <class _Ty>
|
template<class T>
|
||||||
inline constexpr bool AuIsPointer_v<_Ty *> = true;
|
inline constexpr bool AuIsPointer_v<T *> = true;
|
||||||
|
|
||||||
template <class _Ty>
|
template<class T>
|
||||||
inline constexpr bool AuIsPointer_v<_Ty *const> = true;
|
inline constexpr bool AuIsPointer_v<T *const> = true;
|
||||||
|
|
||||||
template <class _Ty>
|
template <class T>
|
||||||
inline constexpr bool AuIsPointer_v<_Ty *volatile> = true;
|
inline constexpr bool AuIsPointer_v<T *volatile> = true;
|
||||||
|
|
||||||
template <class _Ty>
|
template <class T>
|
||||||
inline constexpr bool AuIsPointer_v<_Ty *const volatile> = true;
|
inline constexpr bool AuIsPointer_v<T *const volatile> = true;
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
struct AuRemovePointer {typedef T type;};
|
struct AuRemovePointer {typedef T type;};
|
||||||
|
Loading…
Reference in New Issue
Block a user