libluna: Add typename to some stuff in TypeTraits
All checks were successful
Build and test / build (push) Successful in 1m52s

G++ on Luna was complaining about this.
This commit is contained in:
apio 2024-02-11 19:26:40 +01:00
parent d385e01796
commit 5975e58b4a
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -13,7 +13,7 @@ template <class T> struct __remove_const_impl<T const>
using type = T;
};
template <class T> using RemoveConst = __remove_const_impl<T>::type;
template <class T> using RemoveConst = typename __remove_const_impl<T>::type;
template <class T> struct __remove_volatile_impl
{
@ -25,7 +25,7 @@ template <class T> struct __remove_volatile_impl<T volatile>
using type = T;
};
template <class T> using RemoveVolatile = __remove_volatile_impl<T>::type;
template <class T> using RemoveVolatile = typename __remove_volatile_impl<T>::type;
template <class T> using RemoveCV = RemoveVolatile<RemoveConst<T>>;
@ -44,6 +44,6 @@ template <class T> struct __remove_ref_impl<T&&>
using type = T;
};
template <class T> using RemoveReference = __remove_ref_impl<T>::type;
template <class T> using RemoveReference = typename __remove_ref_impl<T>::type;
template <class T> using RemoveCVReference = RemoveCV<RemoveReference<T>>;