From: Jonathan Wakely <jwakely@redhat.com>
To: libstdc++@gcc.gnu.org
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] 77864 Fix noexcept conditions for map/set default constructors
Date: Wed, 05 Oct 2016 12:13:00 -0000 [thread overview]
Message-ID: <20161005121309.GM29482@redhat.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1610051358200.3271@laptop-mg.saclay.inria.fr>
On 05/10/16 14:10 +0200, Marc Glisse wrote:
>On Wed, 5 Oct 2016, Jonathan Wakely wrote:
>
>>I added conditional noexcept to maps and sets, but forgot to account
>>for the comparison function, which could throw when constructed.
>
>IMO you are fighting a losing battle. We should implement
>noexcept(auto) (possibly with some private __noexcept_auto__ spelling)
>and just use that in most places where we want a conditional noexcept.
That would be nice, but beyond my ability :-)
So until then we can either remove the exception specs entirely, or
make them correct.
next prev parent reply other threads:[~2016-10-05 12:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 11:56 Jonathan Wakely
2016-10-05 12:11 ` Marc Glisse
2016-10-05 12:13 ` Jonathan Wakely [this message]
2016-10-06 20:17 ` François Dumont
2016-10-06 21:34 ` Jonathan Wakely
2016-10-08 20:55 ` François Dumont
2016-10-09 15:14 ` Jonathan Wakely
2016-10-09 15:38 ` Jonathan Wakely
2016-10-10 19:24 ` François Dumont
[not found] ` <CAPQZVxvFJb4gwj2cpxvTPZgBtiyZyviqz0iLhW4sAY6rSrjn6w@mail.gmail.com>
2016-10-10 21:01 ` Tim Song
2016-10-12 20:36 ` François Dumont
2016-10-12 21:26 ` Tim Song
2016-10-23 13:54 ` François Dumont
2016-10-24 11:03 ` Jonathan Wakely
2016-10-25 19:55 ` François Dumont
2016-10-26 8:22 ` Jonathan Wakely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161005121309.GM29482@redhat.com \
--to=jwakely@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).