Implement the proposed resolution from LWG 1052, which also resolves DR 2118 by avoiding taking the address in the first place. PR libstdc++/86734 * include/bits/stl_iterator.h (reverse_iterator::operator->): Call _S_to_pointer (LWG 1052, LWG 2118). (reverse_iterator::_S_to_pointer): Define overloaded helper functions. * testsuite/24_iterators/reverse_iterator/dr1052.cc: New test. * testsuite/24_iterators/reverse_iterator/dr2188.cc: New test. From-SVN: r263074
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
back_insert_iterator | Loading commit data... | |
front_insert_iterator | Loading commit data... | |
headers/iterator | Loading commit data... | |
insert_iterator | Loading commit data... | |
istream_iterator | Loading commit data... | |
istreambuf_iterator | Loading commit data... | |
move_iterator | Loading commit data... | |
normal_iterator | Loading commit data... | |
operations | Loading commit data... | |
ostream_iterator | Loading commit data... | |
ostreambuf_iterator | Loading commit data... | |
random_access_iterator | Loading commit data... | |
reverse_iterator | Loading commit data... | |
container_access.cc | Loading commit data... | |
range_access.cc | Loading commit data... | |
range_access_cpp14.cc | Loading commit data... | |
range_access_cpp17.cc | Loading commit data... | |
range_access_cpp17_neg.cc | Loading commit data... |