...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Iterator which ever circles through a range.
template<typename Iterator> struct ever_circling_iterator : public detail::iterators::iterator_base< ever_circling_iterator< Iterator >, Iterator > { // ... };
Parameter |
Description |
---|---|
typename Iterator |
iterator on which this class is based on |
Function |
Description |
Parameters |
---|---|---|
ever_circling_iterator()
|
||
ever_circling_iterator(Iterator begin, Iterator end, bool skip_first = false)
|
Iterator: begin: Iterator: end: bool: skip_first: |
|
ever_circling_iterator(Iterator begin, Iterator end, Iterator start, bool skip_first = false)
|
Iterator: begin: Iterator: end: Iterator: start: bool: skip_first: |
|
template<typename OtherIterator, std::enable_if_t< std::is_convertible< OtherIterator, Iterator >::value, int >> ever_circling_iterator(ever_circling_iterator< OtherIterator > const & other)
|
ever_circling_iterator< OtherIterator > const &: other: |
Function |
Description |
Parameters |
Returns |
---|---|---|---|
void moveto(Iterator it)
|
Iterator: it: |
#include <boost/geometry/iterators/ever_circling_iterator.hpp>