Turi Create  4.0
turi::second_nested_type< T > Struct Template Reference

#include <core/data/flexible_type/type_traits.hpp>

Detailed Description

template<class T>
struct turi::second_nested_type< T >

Extract the second nested type from a template parameterized type definition; return invalid_type on failure.

Example 1: second_nested_type<std::map<K, V, ...> >::type // Equal to V. Example 2: second_nested_type<std::pair<K, V> >::type // Equal to V.

Definition at line 149 of file type_traits.hpp.


The documentation for this struct was generated from the following file: