added base() function to the interface of the specialized adaptors

[SVN r21619]
This commit is contained in:
Jeremy Siek
2004-01-12 04:17:26 +00:00
parent 5b608e114b
commit f0add8a043
23 changed files with 574 additions and 1762 deletions

View File

@ -18,6 +18,9 @@
, typename enable_if_convertible<OEIter, ElementIterator>::type* = 0
, typename enable_if_convertible<OIIter, IndexIterator>::type* = 0
);
ElementIterator base() const;
private:
ElementIterator m_iterator; // exposition
};
template <class ElementIterator, class IndexIterator>
@ -63,4 +66,9 @@ __ http://www.sgi.com/tech/stl/RandomAccessIterator.html
:Returns: An instance of ``permutation_iterator<ElementIterator, IndexIterator>``
that views the range of elements starting at ``e` in the order given
by ``i``.
by ``i``.
``ElementIterator base() const;``
:Returns: ``m_iterator``