forked from boostorg/iterator
fixed a transform_iterator issue
[SVN r21688]
This commit is contained in:
1 parent
ea3baba376
commit
e7b5604ec5
4 files changed
+65
-52
No files matched your search
+18
-1
@@ -1074,7 +1074,24 @@ c++std-lib-12641:
|
||||
been at this too long, and it's all turning into a maze of twisty passages,
|
||||
all alike.
|
||||
|
||||
:Proposed resolution: **Needs work** (Jeremy)
|
||||
:Proposed resolution:
|
||||
|
||||
Replace:
|
||||
|
||||
The reference type of transform_iterator is
|
||||
``result_of<UnaryFunction(iterator_traits<Iterator>::reference)>::type``. The
|
||||
``value_type`` is ``remove_cv<remove_reference<reference> >::type``.
|
||||
|
||||
with:
|
||||
|
||||
If ``Reference`` is ``use_default`` then the ``reference`` member of
|
||||
``transform_iterator`` is
|
||||
``result_of<UnaryFunction(iterator_traits<Iterator>::reference)>::type``.
|
||||
Otherwise, ``reference`` is ``Reference``.
|
||||
|
||||
If ``Value`` is ``use_default`` then the ``value_type`` member is
|
||||
``remove_cv<remove_reference<reference> >::type``. Otherwise,
|
||||
``value_type`` is ``Value``.
|
||||
|
||||
|
||||
filter_iterator details unspecified
|
||||
|
||||
Reference in new issue
Block a user