index_iterator< F, T, R, I, D > Class Template Reference |
Public Member Functions | |
I | base () const |
index_iterator (F f, I i) | |
index_iterator () | |
index_iterator (const index_iterator &x) | |
index_iterator & | operator= (const index_iterator &x) |
Friends | |
class | boost::iterator_core_access |
void | swap (index_iterator &x, index_iterator &y) |
Detailed Description
template<typename F, typename T, typename R = T&, typename I = std::size_t, typename D = std::ptrdiff_t>
class adobe::index_iterator< F, T, R, I, D >
- Model Of:
- Regular
- Random Access Iterator
- Types:
- F: Models Unary Function
- T: Value type of the sequence's elements; models Regular
- R: Return type of operator*(); models Reference Type of T
- I: Index type; models Unsigned Integer
- D: Difference type of I; models Signed Integer
Definition at line 254 of file iterator.hpp.
Constructor & Destructor Documentation
index_iterator | ( | ) |
Definition at line 258 of file iterator.hpp.
index_iterator | ( | F | f, |
I | i | ||
) |
Constructs index_iterator with unary function f
and index i
.
Definition at line 259 of file iterator.hpp.
index_iterator | ( | const index_iterator< F, T, R, I, D > & | x ) |
Definition at line 261 of file iterator.hpp.
Member Function Documentation
base | ( | ) | const |
Returns iterator's index.
Definition at line 279 of file iterator.hpp.
index_iterator& operator= | ( | const index_iterator< F, T, R, I, D > & | x ) |
Definition at line 266 of file iterator.hpp.
Friends And Related Function Documentation
friend class boost::iterator_core_access [friend] |
Definition at line 287 of file iterator.hpp.
void swap | ( | index_iterator< F, T, R, I, D > & | x, |
index_iterator< F, T, R, I, D > & | y | ||
) | [friend] |
Definition at line 273 of file iterator.hpp.