Refactor and improve collections code

#3043
This commit is contained in:
Wojtek Figat
2025-01-23 14:44:11 +01:00
parent af416fe0c8
commit f5280eab74
13 changed files with 277 additions and 268 deletions

View File

@@ -234,6 +234,12 @@ struct TIsCopyConstructible
enum { Value = __is_constructible(T, typename TAddLValueReference<typename TAddConst<T>::Type>::Type) };
};
template<typename T>
struct TIsMoveConstructible
{
enum { Value = __is_constructible(T, typename TAddRValueReference<T>::Type) };
};
////////////////////////////////////////////////////////////////////////////////////
// Checks if a type has a trivial copy constructor.