mirror of
https://github.com/boostorg/iterator.git
synced 2025-07-29 12:27:33 +02:00
change from "same as" to "convertible to"
[SVN r21309]
This commit is contained in:
@ -74,7 +74,7 @@ The ``Iterator`` type must meet the requirements of Readable
|
|||||||
Iterator. Also, the following requirements are placed on
|
Iterator. Also, the following requirements are placed on
|
||||||
``iterator_traits<Iterator>::value_type``. Let ``i`` be an object of
|
``iterator_traits<Iterator>::value_type``. Let ``i`` be an object of
|
||||||
type ``iterator_traits<Iterator>::value_type``. Then ``*i`` must be a
|
type ``iterator_traits<Iterator>::value_type``. Then ``*i`` must be a
|
||||||
valid expression, and the type of ``*i`` must be the same as the
|
valid expression, and the type of ``*i`` must be convertible to
|
||||||
``iterator_adaptor::reference``. Also, there are further requirements
|
``iterator_adaptor::reference``. Also, there are further requirements
|
||||||
on the ``iterator_traits<Iterator>::value_type`` if the ``Value``
|
on the ``iterator_traits<Iterator>::value_type`` if the ``Value``
|
||||||
parameter is not ``use_default``, as implied by the algorithm for deducing
|
parameter is not ``use_default``, as implied by the algorithm for deducing
|
||||||
|
Reference in New Issue
Block a user