std::experimental::ranges::value_type
Min standard notice:
Header: <experimental/ranges/iterator>
Computes the associated value type of the type I, if any. Users may specialize value_type for a program-defined type.
# Declarations
template< class I >
struct value_type {};
template< class T >
struct value_type<T*>;
template< class I >
requires std::is_array<I>::value
struct value_type<I> : value_type<std::decay_t<I>> {};
template< class T >
struct value_type<const T> : value_type<std::decay_t<T>> {};
template< class T >
requires requires { typename T::value_type; }
struct value_type<T>;
template< class T >
requires requires { typename T::element_type; }
struct value_type<T>;
# Notes
If a type contains both a value_type member and a element_type member, then the specializations (5) and (6) are ambiguous.
value_type is intended for use with Readable types such as iterators. It is not intended for use with ranges.
# Example
This section is incompleteReason: no example