mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-29 20:37:17 +02:00
changed use of interoperable to say "if and only if"
also changed models section in indirect_iterator to mention iterator_traversal<>::type in addition to iterator_category [SVN r21732]
This commit is contained in:
@ -93,7 +93,8 @@ deducing the default for the ``value_type`` member.]
|
||||
``indirect_iterator`` models
|
||||
............................
|
||||
|
||||
In addition to the concepts indicated by ``iterator_category``, a
|
||||
In addition to the concepts indicated by ``iterator_category``
|
||||
and by ``iterator_traversal<indirect_iterator>::type``, a
|
||||
specialization of ``indirect_iterator`` models the following
|
||||
concepts, Where ``v`` is an object of
|
||||
``iterator_traits<Iterator>::value_type``:
|
||||
@ -107,8 +108,10 @@ concepts, Where ``v`` is an object of
|
||||
|
||||
* Lvalue Iterator if ``reference`` is a reference type.
|
||||
|
||||
Two specializations of ``indirect_iterator`` are interoperable if
|
||||
their ``Iterator`` parameters are interoperable.
|
||||
``indirect_iterator<X,V1,C1,R1,D1>`` is interoperable with
|
||||
``indirect_iterator<Y,V2,C2,R2,D2>`` if and only if iterator ``X`` is
|
||||
interoperable with iterator ``Y``.
|
||||
|
||||
|
||||
``indirect_iterator`` operations
|
||||
................................
|
||||
|
Reference in New Issue
Block a user