[PATCH] libstdc++: implement LWG3662 basic_string::append/assign(NTBS, pos, n) suboptimal
Tomasz Kaminski
tkaminsk@redhat.com
Wed Jul 1 14:46:40 GMT 2026
Are the following checks correct? I think we need string of at least
length __pos + __len.
__glibcxx_requires_string_len(__s, __n);
On Wed, Jul 1, 2026 at 4:41 PM Yuao Ma <addr2line@gmail.com> wrote:
> Hi!
>
> This patch implements LWG3662 for C++11 ABI and COW ABI of strings.
>
> Tested on x86_64 linux, ok for trunk?
>
> Thanks,
> Yuao
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260701/ba7a8e9c/attachment.htm>
More information about the Libstdc++
mailing list