VCCC  2024.05
VisualCamp Common C++ library
forward_iterator< I > Struct Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__iterator/forward_iterator.hpp>

+ Inheritance diagram for forward_iterator< I >:

Detailed Description

template<typename I>
struct vccc::forward_iterator< I >

This concept refines input_iterator by requiring that I also model incrementable (thereby making it suitable for multi-pass algorithms), and guaranteeing that two iterators to the same range can be compared against each other.

Note

Unlike the LegacyForwardIterator requirements, the forward_iterator concept does not require dereference to return a reference.

See also
std::forward_iterator
input_iterator

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