![]() 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. |
||
---|---|---|
.. | ||
allocator | ||
bool | ||
capacity | ||
cons | ||
data_access | ||
debug | ||
element_access | ||
ext_pointer | ||
modifiers | ||
profile | ||
requirements | ||
types | ||
14340.cc | ||
15523.cc | ||
18604.cc | ||
26142-1.cc | ||
26142-2.cc | ||
40192.cc | ||
48101-2_neg.cc | ||
48101-3_neg.cc | ||
48101_neg.cc | ||
52591.cc | ||
58764.cc | ||
59829.cc | ||
63500.cc | ||
70303.cc | ||
92124.cc | ||
check_construct_destroy.cc | ||
cmp_c++20.cc | ||
debug_mode_requires_reallocation-1.cc | ||
debug_mode_requires_reallocation-2.cc | ||
erasure.cc | ||
init-list.cc | ||
nodiscard.cc | ||
pmr_typedefs.cc | ||
range_access.cc | ||
zero_sized_allocations.cc |