forked from boostorg/iterator
added base() function to the interface of the specialized adaptors
[SVN r21619]
This commit is contained in:
@ -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``
|
Reference in New Issue
Block a user