SeqAn3  3.0.0
The Modern C++ library for sequence analysis.
seqan3::iterator_tag< it_t > Struct Template Reference

Exposes the iterator_category from the modelled concept. More...

#include <seqan3/core/type_traits/iterator.hpp>

+ Inheritance diagram for seqan3::iterator_tag< it_t >:

Public Types

using type = iterator_category
 The iterator_category.
 

Detailed Description

template<typename it_t>
struct seqan3::iterator_tag< it_t >

Exposes the iterator_category from the modelled concept.

Template Parameters
it_tThe type to operate on.
See also
seqan3::iterator_tag_t
Modelled concept iterator_tag<it_t>::type
std::InputIterator<it_t> std::input_iterator_tag
!std::InputIterator<it_t> && std::OutputIterator<it_t, value_type<it_t>> std::output_iterator_tag
std::ForwardIterator<it_t> std::forward_iterator_tag
std::BidirectionalIterator<it_t> std::bidirectional_iterator_tag
std::RandomAccessIterator<it_t> std::random_access_iterator_tag
Attention
If std::iterator_traits<it_t>::iterator_category is defined for a type it_t, this transformation trait acts as an alias for it. If it is not defined and no concepts are modelled, iterator_tag<it_t>::type is not defined.

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