![]() |
ATLAS Offline Software
|
Simple range from a pair of iterators. More...
#include <iterator_range.h>
Public Member Functions | |
| ITER | begin () const |
| ITER | end () const |
Simple range from a pair of iterators.
This adapts a pair of iterators to work as a range.
std::ranges::subrange can't always be used, because it requires that the sentinel type be assignable and default-constructible, which is not the case for the concurrent map iterators. In that case, this class can be used instead. (boost::iterator_range could also work, but it brings in the boost type traits implementation as header dependencies.)
Definition at line 36 of file iterator_range.h.
|
inline |
Definition at line 40 of file iterator_range.h.
|
inline |
Definition at line 41 of file iterator_range.h.
1.8.18