[PATCH] Complete __gnu_debug::basic_string

François Dumont frs.dumont@gmail.com
Mon Mar 29 20:25:55 GMT 2021


On 25/03/21 4:29 pm, Jonathan Wakely wrote:
> Oh, it's the same generate(sz) bug as you already found. But I've
> found other bugs, e.g. with GLIBCXX_SEED_TEST_RNG=1908970375).
>
> I think we should also add a check for non-empty containers to those
> test functions, and ensure we don't try to erase from empty
> containers (see attached).
>
>
I had a look at this patch and on my side I was more thinking about 
avoiding empty containers in the first place.

What do you think ?

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: exception_safety.patch
Type: text/x-patch
Size: 1239 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210329/57411ecf/attachment.bin>


More information about the Gcc-patches mailing list