public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/52924] [4.7/4.8 Regression] Using an std::function object as deleter of shared_ptr in C++0x mode does not compile Date: Wed, 11 Apr 2012 22:55:00 -0000 [thread overview] Message-ID: <bug-52924-4-UkdIGmszFu@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-52924-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52924 --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-11 22:54:59 UTC --- Author: redi Date: Wed Apr 11 22:54:53 2012 New Revision: 186363 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186363 Log: PR libstdc++/52924 * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add user-defined destructor. (_Sp_counted_inplace): Likewise. * testsuite/20_util/shared_ptr/cons/52924.cc: New. * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers. Added: trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/52924.cc - copied, changed from r186362, trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/include/bits/shared_ptr_base.h trunk/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc
next prev parent reply other threads:[~2012-04-11 22:55 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-10 8:15 [Bug c++/52924] New: " jpr at essi dot fr 2012-04-10 9:08 ` [Bug c++/52924] " redi at gcc dot gnu.org 2012-04-10 10:23 ` [Bug c++/52924] [4.7 Regression] " redi at gcc dot gnu.org 2012-04-10 12:56 ` redi at gcc dot gnu.org 2012-04-10 17:04 ` paolo.carlini at oracle dot com 2012-04-11 9:31 ` [Bug c++/52924] [4.7/4.8 " redi at gcc dot gnu.org 2012-04-11 10:30 ` paolo.carlini at oracle dot com 2012-04-11 10:34 ` redi at gcc dot gnu.org 2012-04-11 22:55 ` redi at gcc dot gnu.org [this message] 2012-04-11 23:14 ` redi at gcc dot gnu.org 2012-04-11 23:15 ` 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-52924-4-UkdIGmszFu@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).