24 #ifndef PPL_iterator_to_const_hh
25 #define PPL_iterator_to_const_hh 1
31 #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
48 #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
49 template <
typename Container>
53 typedef typename Container::iterator
Base;
57 std::iterator_traits<typename Container::const_iterator>
Traits;
114 #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
121 #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
122 template <
typename Container>
126 typedef typename Container::const_iterator
Base;
129 typedef typename std::iterator_traits<Base>
Traits;
190 #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
197 #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
198 template <
typename Container>
203 #ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
210 #endif // defined(PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS)
211 template <
typename Container>
220 #endif // !defined(PPL_iterator_to_const_hh)
bool operator!=(const Box< ITV > &x, const Box< ITV > &y)
pointer operator->() const
Indirect access operator.
reference operator*() const
Dereference operator.
pointer operator->() const
Indirect member selector.
bool operator==(const iterator_to_const &y) const
Returns true if and only if *this and y are identical.
Traits::reference reference
Container::iterator Base
The type of the underlying mutable iterator.
bool operator==(const const_iterator_to_const &y) const
Returns true if and only if *this and y are identical.
The powerset construction on a base-level domain.
iterator_to_const & operator++()
Prefix increment operator.
Traits::difference_type difference_type
Traits::iterator_category iterator_category
Traits::reference reference
Traits::value_type value_type
const_iterator_to_const & operator++()
Prefix increment operator.
Base base
A const_iterator on the sequence of elements.
Base base
A (mutable) iterator on the sequence of elements.
A const_iterator on a sequence of read-only objects.
The entire library is confined to this namespace.
bool operator!=(const iterator_to_const &y) const
Returns true if and only if *this and y are different.
Traits::value_type value_type
const_iterator_to_const()
Default constructor.
std::iterator_traits< typename Container::const_iterator > Traits
A shortcut for naming the const_iterator traits.
std::iterator_traits< Base > Traits
A shortcut for naming traits.
bool operator==(const Box< ITV > &x, const Box< ITV > &y)
An iterator on a sequence of read-only objects.
iterator_to_const & operator--()
Prefix decrement operator.
iterator_to_const()
Default constructor.
reference operator*() const
Dereference operator.
Container::const_iterator Base
The type of the underlying const_iterator.
Traits::iterator_category iterator_category
Traits::difference_type difference_type
bool operator!=(const const_iterator_to_const &y) const
Returns true if and only if *this and y are different.
const_iterator_to_const & operator--()
Prefix decrement operator.