Lines Matching +full:x +full:- +full:whatever
1 // Iterators -*- C++ -*-
19 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
34 * Hewlett-Packard Company
40 * in supporting documentation. Hewlett-Packard Company makes no
45 * Copyright (c) 1996-1998
82 * &*(reverse_iterator(i)) == &*(i - 1) in _GLIBCXX_BEGIN_NAMESPACE()
113 * The default constructor default-initializes member @p current. in _GLIBCXX_BEGIN_NAMESPACE()
114 * If it is a pointer, that means it is zero-initialized. in _GLIBCXX_BEGIN_NAMESPACE()
121 * This %iterator will move in the opposite direction that @p x does. in _GLIBCXX_BEGIN_NAMESPACE()
156 return *--__tmp; in _GLIBCXX_BEGIN_NAMESPACE()
165 operator->() const in _GLIBCXX_BEGIN_NAMESPACE()
176 --current; in _GLIBCXX_BEGIN_NAMESPACE()
189 --current; in _GLIBCXX_BEGIN_NAMESPACE()
199 operator--() in _GLIBCXX_BEGIN_NAMESPACE()
211 operator--(int) in _GLIBCXX_BEGIN_NAMESPACE()
225 { return reverse_iterator(current - __n); } in _GLIBCXX_BEGIN_NAMESPACE()
235 current -= __n; in _GLIBCXX_BEGIN_NAMESPACE()
245 operator-(difference_type __n) const in _GLIBCXX_BEGIN_NAMESPACE()
254 operator-=(difference_type __n) in _GLIBCXX_BEGIN_NAMESPACE()
272 * @param x A %reverse_iterator.
318 operator-(const reverse_iterator<_Iterator>& __x,
320 { return __y.base() - __x.base(); }
326 { return reverse_iterator<_Iterator>(__x.base() - __n); }
368 operator-(const reverse_iterator<_IteratorL>& __x,
370 { return __y.base() - __x.base(); }
377 * These are output iterators, constructed from a container-of-T.
392 /// A nested typedef for the type of whatever container you used.
400 * @param value An instance of whatever type
402 * reference-to-const T for container<T>.
413 container->push_back(__value);
434 * @param x A container of arbitrary type.
435 * @return An instance of back_insert_iterator working on @p x.
452 * These are output iterators, constructed from a container-of-T.
467 /// A nested typedef for the type of whatever container you used.
474 * @param value An instance of whatever type
476 * reference-to-const T for container<T>.
487 container->push_front(__value);
508 * @param x A container of arbitrary type.
509 * @return An instance of front_insert_iterator working on @p x.
526 * These are output iterators, constructed from a container-of-T.
546 /// A nested typedef for the type of whatever container you used.
557 * @param value An instance of whatever type
559 * reference-to-const T for container<T>.
582 iter = container->insert(iter, __value);
604 * @param x A container of arbitrary type.
605 * @return An instance of insert_iterator working on @p x.
669 operator->() const
685 operator--()
687 --_M_current;
692 operator--(int)
693 { return __normal_iterator(_M_current--); }
709 operator-=(const difference_type& __n)
710 { _M_current -= __n; return *this; }
713 operator-(const difference_type& __n) const
714 { return __normal_iterator(_M_current - __n); }
721 // Note: In what follows, the left- and right-hand-side iterators are
722 // allowed to vary in types (conceptually in cv-qualification) so that
723 // comparaison between cv-qualified and non-cv-qualified iterators be
727 // remind me what generic programming is about? -- Gaby
805 // operators but also operator- must accept mixed iterator/const_iterator
809 operator-(const __normal_iterator<_IteratorL, _Container>& __lhs,
811 { return __lhs.base() - __rhs.base(); }
815 operator-(const __normal_iterator<_Iterator, _Container>& __lhs,
817 { return __lhs.base() - __rhs.base(); }