libluna: Add typename to some stuff in TypeTraits
All checks were successful
Build and test / build (push) Successful in 1m52s
All checks were successful
Build and test / build (push) Successful in 1m52s
G++ on Luna was complaining about this.
This commit is contained in:
parent
d385e01796
commit
5975e58b4a
@ -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>>;
|
||||
|
Loading…
Reference in New Issue
Block a user