Dune Core Modules (2.3.1)
genericiterator.hh
Go to the documentation of this file.
153 friend class GenericIterator<typename remove_const<C>::type, typename remove_const<T>::type, typename mutable_reference<R>::type, D, IteratorFacade>;
154 friend class GenericIterator<const typename remove_const<C>::type, const typename remove_const<T>::type, typename const_reference<R>::type, D, IteratorFacade>;
156 typedef GenericIterator<typename remove_const<C>::type, typename remove_const<T>::type, typename mutable_reference<R>::type, D, IteratorFacade> MutableIterator;
157 typedef GenericIterator<const typename remove_const<C>::type, const typename remove_const<T>::type, typename const_reference<R>::type, D, IteratorFacade> ConstIterator;
210 GenericIterator(const MutableIterator& other) : container_(other.container_), position_(other.position_)
222 GenericIterator(const ConstIterator& other) : container_(other.container_), position_(other.position_)
Generic class for stl-conforming iterators for container classes with operator[].
Definition: genericiterator.hh:152
GenericIterator(const MutableIterator &other)
Copy constructor.
Definition: genericiterator.hh:210
GenericIterator(const ConstIterator &other)
Copy constructor.
Definition: genericiterator.hh:222
GenericIterator(Container &cont, DifferenceType pos)
Constructor.
Definition: genericiterator.hh:199
D DifferenceType
The type of the difference between two positions.
Definition: genericiterator.hh:181
R Reference
The type of the reference to the values accessed.
Definition: genericiterator.hh:186
C Container
The type of container we are an iterator for.
Definition: genericiterator.hh:169
T Value
The value type of the iterator.
Definition: genericiterator.hh:176
This file implements iterator facade classes for writing stl conformant iterators.
Get the 'const' version of a reference to a mutable object.
Definition: genericiterator.hh:86
get the 'mutable' version of a reference to a const object
Definition: genericiterator.hh:115
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)