![]() Consider range of value-initialized iterators as valid and empty. libstdc++-v3/ChangeLog: PR libstdc++/114316 * include/debug/safe_iterator.tcc (_Safe_iterator<>::_M_valid_range): First check if both iterators are value-initialized before checking if singular. * testsuite/23_containers/set/debug/114316.cc: New test case. * testsuite/23_containers/vector/debug/114316.cc: New test case. |
||
---|---|---|
.. | ||
invalidation | ||
60499.cc | ||
90102.cc | ||
114316.cc | ||
construct1_neg.cc | ||
construct2_neg.cc | ||
construct3_neg.cc | ||
construct4_neg.cc | ||
construct5_neg.cc | ||
insert1_neg.cc | ||
insert2_neg.cc | ||
insert3_neg.cc | ||
insert4_neg.cc | ||
move_assign_neg.cc | ||
move_neg.cc |