tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
iterator_traits< Iter > Struct Template Reference

iterator_traits is the type trait class that provides uniform interface to the properties of LegacyIterator types. This makes it possible to implement algorithms only in terms of iterators. More...

#include <iterator_traits.hpp>

Inheritance diagram for iterator_traits< Iter >:

Detailed Description

template<typename Iter>
struct etl::iterator_traits< Iter >

iterator_traits is the type trait class that provides uniform interface to the properties of LegacyIterator types. This makes it possible to implement algorithms only in terms of iterators.

The template can be specialized for user-defined iterators so that the information about the iterator can be retrieved even if the type does not provide the usual typedefs.

https://en.cppreference.com/w/cpp/iterator/iterator_traits


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