tlx
|
#include <multiway_merge.hpp>
Public Types | |
using | self_type = unguarded_iterator< RandomAccessIterator, Comparator > |
Our own type. More... | |
using | value_type = typename std::iterator_traits< RandomAccessIterator >::value_type |
Value type of the iterator. More... | |
Public Member Functions | |
unguarded_iterator (RandomAccessIterator begin, RandomAccessIterator, Comparator &comp) | |
Constructor. More... | |
self_type & | operator++ () |
Pre-increment operator. More... | |
value_type & | operator* () |
Dereference operator. More... | |
RandomAccessIterator & | iterator () |
Convert to wrapped iterator. More... | |
Protected Attributes | |
RandomAccessIterator | current |
Current iterator position. More... | |
Comparator & | comp_ |
Comparator. More... | |
Friends | |
bool | operator< (self_type &bi1, self_type &bi2) |
Compare two elements referenced by unguarded iterators. More... | |
bool | operator<= (self_type &bi1, self_type &bi2) |
Compare two elements referenced by unguarded iterators. More... | |
Definition at line 155 of file multiway_merge.hpp.
using self_type = unguarded_iterator<RandomAccessIterator, Comparator> |
Our own type.
Definition at line 159 of file multiway_merge.hpp.
using value_type = typename std::iterator_traits<RandomAccessIterator>::value_type |
Value type of the iterator.
Definition at line 162 of file multiway_merge.hpp.
|
inline |
Constructor.
Sets iterator to beginning of sequence.
begin | Begin iterator of sequence. param end Unused, only for compatibility. |
comp | Unused, only for compatibility. |
Definition at line 178 of file multiway_merge.hpp.
|
inline |
Convert to wrapped iterator.
Definition at line 205 of file multiway_merge.hpp.
|
inline |
|
inline |
Compare two elements referenced by unguarded iterators.
bi1 | First iterator. |
bi2 | Second iterator. |
True
if less. Definition at line 215 of file multiway_merge.hpp.
Compare two elements referenced by unguarded iterators.
bi1 | First iterator. |
bi2 | Second iterator. |
True
if less equal. Definition at line 225 of file multiway_merge.hpp.
|
protected |
Comparator.
Definition at line 169 of file multiway_merge.hpp.
|
protected |
Current iterator position.
Definition at line 167 of file multiway_merge.hpp.