This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add noexcept to various basic_string string operations
- From: Tim Song <t dot canens dot cpp at gmail dot com>
- To: Jonathan Wakely <jwakely at redhat dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 6 Dec 2016 06:05:58 -0500
- Subject: Re: [PATCH] Add noexcept to various basic_string string operations
- Authentication-results: sourceware.org; auth=none
- References: <20161206104332.GA22444@redhat.com> <CAPQZVxupnxdSVP+zShP=8FzM5PBfCtL4mTanG68jEgBBHomZ9w@mail.gmail.com> <20161206105933.GD6326@redhat.com> <20161206110041.GE6326@redhat.com>
On Tue, Dec 6, 2016 at 6:00 AM, Jonathan Wakely <jwakely@redhat.com> wrote:
> Oh, but if you mean what the standard should say, my issue submission
> proposed "Throws: Nothing." for the ones with a narrow contract. It
> should be in the issue list soon, but I only sent it yesterday.
>
Yes, I was talking about the standard. Maybe it would have been clearer
if I just quoted the second sentence.
Of course there's no problem with you strengthening noexcept in your
implementation :)