Specialization of the standard library customization point std::iterator_traits, to subclasses of Iterator_interface.
More...
#include <iterator_interface.h>
Specialization of the standard library customization point std::iterator_traits, to subclasses of Iterator_interface.
This deduces the iterator category and defines other type members required for iterators to satisfy the standard library requirements for iterators. See also the "Specializations" section at https://en.cppreference.com/w/cpp/iterator/iterator_traits
◆ difference_type
template<class Iterator_t >
◆ iterator_concept
template<class Iterator_t >
◆ pointer
template<class Iterator_t >
| using std::iterator_traits< Iterator_t >::pointer = decltype(std::declval<Iterator_t>().operator->()) |
◆ reference
template<class Iterator_t >
| using std::iterator_traits< Iterator_t >::reference = decltype(*std::declval<Iterator_t>()) |
◆ value_type
template<class Iterator_t >
◆ else
template<class Iterator_t >
| std::iterator_traits< Iterator_t >::else |
Initial value:{
return std::random_access_iterator_tag{}
The documentation for this struct was generated from the following file: