refactor(typetraits): replaces template class type traits with concepts for TypeTraits/TypeProperties.h

This commit is contained in:
2022-05-15 23:22:49 +08:00
parent 22fe906eda
commit c316b8f190
6 changed files with 67 additions and 69 deletions

View File

@ -270,7 +270,7 @@ void TestVariant()
{
using T = decltype(Arg);
always_check(Arg == 10);
always_check(TIsConst<typename TRemoveReference<T>::Type>::Value == bIsConst);
always_check(CConst<typename TRemoveReference<T>::Type> == bIsConst);
always_check(CLValueReference<T> == bIsLValue);
always_check(CRValueReference<T> == bIsRValue);
return 0;