Template Struct type_index< T, U, Ts… >¶
Defined in File variant_array.h
Inheritance Relationships¶
Base Type¶
public std::integral_constant< std::size_t,(std::is_pointer_v< T > ? std::is_base_of_v< std::remove_pointer_t< U >, std::remove_pointer_t< T >> :std::is_same_v< T, U >) ? 0 :(type_index< T, Ts... >::value==std::numeric_limits< std::size_t >::max() ? std::numeric_limits< std::size_t >::max() :1+type_index< T, Ts... >::value)>
Struct Documentation¶
-
template<typename T, typename U, typename ...Ts>
struct type_index<T, U, Ts...> : public std::integral_constant<std::size_t, (std::is_pointer_v<T> ? std::is_base_of_v<std::remove_pointer_t<U>, std::remove_pointer_t<T>> : std::is_same_v<T, U>) ? 0 : (type_index<T, Ts...>::value == std::numeric_limits<std::size_t>::max() ? std::numeric_limits<std::size_t>::max() : 1 + type_index<T, Ts...>::value)>¶