[Bug libstdc++/99402] [10/11 Regression] std::copy creates _GLIBCXX_DEBUG false positive for attempt to subscript a dereferenceable (start-of-sequence) iterator
kip at thevertigo dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 5 20:00:16 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99402
--- Comment #8 from Kip Warner <kip at thevertigo dot com> ---
And for anyone finding this from a search engine, the temporary workaround is
to use std::copy_n.
More information about the Gcc-bugs
mailing list