A generic index_range bounded by two "non-iterators".
More...
#include <geogram/basic/range.h>
A generic index_range bounded by two "non-iterators".
Definition at line 106 of file range.h.
◆ index_range()
index_range constructor
- Parameters
-
[in] | b | first index |
[in] | e | one position past the last index |
Definition at line 117 of file range.h.
◆ begin()
◆ end()
gets one position past the last index
- Returns
- a index_as_iterator corresponding to one position past the last index
Definition at line 133 of file range.h.
◆ operator[]()
direct access to an arbitrary element in the index_range
- Parameters
-
[in] | i | the index of the element |
- Returns
- an index_as_iterator corresponding to the
i
th element
Definition at line 149 of file range.h.
The documentation for this class was generated from the following file: