public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "f.heckenbach@fh-soft.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/57505] New: [C++11] destructor of std::function should be noexcept Date: Sun, 02 Jun 2013 15:31:00 -0000 [thread overview] Message-ID: <bug-57505-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57505 Bug ID: 57505 Summary: [C++11] destructor of std::function should be noexcept Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: f.heckenbach@fh-soft.de Created attachment 30243 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30243&action=edit Test case According to http://en.cppreference.com/w/cpp/utility/functional/function/~function, the destructor of std::function, like all standard destructors, should be noexcept, but as the attached test case shows, it isn't so: % g++-4.7 -std=c++11 test.cpp test.cpp:4:1: error: static assertion failed: ~function is not noexcept
next reply other threads:[~2013-06-02 15:31 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-06-02 15:31 f.heckenbach@fh-soft.de [this message] 2013-06-02 15:53 ` [Bug libstdc++/57505] " f.heckenbach@fh-soft.de 2013-06-02 16:03 ` daniel.kruegler at googlemail dot com 2013-06-02 22:06 ` redi at gcc dot gnu.org
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=bug-57505-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).