System::TestPredicates::TypeTraits::BothArrayOrList typedef

BothArrayOrList typedef

检查两个类型参数是否都是数组或列表。如果是,则将 value 成员设置为 true,否则设置为 false。

using System::TestPredicates::TypeTraits::BothArrayOrList =  std::integral_constant<bool, (IsArray<T1>::value || IsList<T1>::value) && (IsArray<T2>::value || IsList<T2>::value)>

另见