E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ value_type_t

template<typename T >
using eve::value_type_t = typename decltype(detail::value_type_impl<T>())::type
Template Parameters
TType to process

value_type_t<T> is computed as follows:

  • If T has begin/end - value_type_t for return type of begin
  • If T is std::iterator -> returns iterator_traits<T>::value_type
  • If T has nested value_type -> returns it
  • If T is a product type and all elements have value_type_t defined for them -
  • kumi::tuple for the individual product types.
  • Otherwise it's undefined.
Template Parameters
TType to process

Required header: #include <eve/traits.hpp>