Turi Create
4.0
|
#include <core/data/flexible_type/type_traits.hpp>
Extract the first 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 K. Example 2: second_nested_type<std::pair<K, V> >::type // Equal to K. Example 3: second_nested_type<std::vector<K, ...> >::type // Equal to K.
Definition at line 127 of file type_traits.hpp.