mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-12 05:51:37 +00:00
edits to take into account that the access requirements for Iterator are not
determined by the CategoryOrTraversal tag. The access req. is just readable. [SVN r21343]
This commit is contained in:
parent
81242ad5ae
commit
ad5defc9af
@ -73,18 +73,19 @@ as follows::
|
|||||||
The ``CategoryOrTraversal`` argument shall be one of the standard
|
The ``CategoryOrTraversal`` argument shall be one of the standard
|
||||||
iterator tags or ``use_default``. If ``CategoryOrTraversal`` is an
|
iterator tags or ``use_default``. If ``CategoryOrTraversal`` is an
|
||||||
iterator tag, ``indirect_iterator`` satisfies the requirements
|
iterator tag, ``indirect_iterator`` satisfies the requirements
|
||||||
corresponding to the iterator tag. The template parameter ``Iterator``
|
corresponding to the iterator tag. The template parameter
|
||||||
argument shall meet the requirements corresponding to the iterator
|
``Iterator`` argument shall meet the traversal requirements
|
||||||
tag. If ``CategoryOrTraversal`` is ``use_default`` then the
|
corresponding to the iterator tag and the requirements of Readable
|
||||||
``Iterator`` argument shall meet the requirements of Readable
|
Iterator. If ``CategoryOrTraversal`` is ``use_default`` then
|
||||||
Iterator. In this case, ``indirect_iterator`` satisfies the
|
``indirect_iterator`` satisfies the requirements of the most refined
|
||||||
requirements of the most refined standard traversal concept that is
|
standard traversal concept that is satisfied by the ``Iterator``
|
||||||
satisfied by the ``Iterator`` argument.
|
argument. In this case the ``Iterator`` argument shall meet the
|
||||||
|
requirements of Readable Iterator.
|
||||||
|
|
||||||
The expression ``*i``, where ``i`` is an object of type
|
The expression ``*v``, where ``v`` is an object of type
|
||||||
``iterator_traits<Iterator>::value_type``, must be a valid expression
|
``iterator_traits<Iterator>::value_type``, must be a valid expression
|
||||||
and must be convertible to ``indirect_iterator::reference`` Also,
|
and must be convertible to ``iterator_adaptor::reference`` Also, there
|
||||||
there are further requirements on the
|
are further requirements on the
|
||||||
``iterator_traits<Iterator>::value_type`` if the ``Value`` parameter
|
``iterator_traits<Iterator>::value_type`` if the ``Value`` parameter
|
||||||
is not ``use_default``, as implied by the algorithm for deducing the
|
is not ``use_default``, as implied by the algorithm for deducing the
|
||||||
default.
|
default.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user