[PATCH] Add noexcept to various basic_string string operations

Tim Song t.canens.cpp@gmail.com
Tue Dec 6 10:56:00 GMT 2016


On Tue, Dec 6, 2016 at 5:43 AM, Jonathan Wakely <jwakely@redhat.com> wrote:
> None of these functions can throw, so we should mark them as such.
> I've reported this as a defect against C++17, because they should have
> been made noexcept after the application of https://wg21.link/p0254r2

Surely the const _CharT* variants are narrow contract? Or was there a
policy change here?



More information about the Gcc-patches mailing list