public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hhinnant at apple dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/25950] [3.4/4.0/4.1 Regression] [DR 391] Reference binding and explicit copy constructors Date: Tue, 24 Jan 2006 22:51:00 -0000 [thread overview] Message-ID: <20060124225114.2543.qmail@sourceware.org> (raw) In-Reply-To: <bug-25950-11686@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from hhinnant at apple dot com 2006-01-24 22:51 ------- More information: I now believe I unknowingly misled when I surmized that EDG had implemented cwg 391. If you declare the copy ctor private in the example, EDG rejects g(X()) based on accessibility. Rather I am now surmizing that there is wiggle room in 8.5.3 to allow EDG's behavior. More specifically, EDG is choosing this bullet: * The reference is bound to the object represented by the rvalue (see basic.lval) or to a sub-object within that object. And (I'm still guessing) this choice requires access checking of the copy ctor, but does not require an implicit copy ctor. Sorry my initial post wasn't more clear. This is a confusing area to me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25950
next prev parent reply other threads:[~2006-01-24 22:51 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-01-24 22:24 [Bug c++/25950] New: " hhinnant at apple dot com 2006-01-24 22:38 ` [Bug c++/25950] [DR 391] " pinskia at gcc dot gnu dot org 2006-01-24 22:48 ` [Bug c++/25950] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org 2006-01-24 22:51 ` hhinnant at apple dot com [this message] 2006-01-25 1:32 ` gdr at cs dot tamu dot edu 2006-01-25 1:55 ` pinskia at gcc dot gnu dot org 2006-01-25 2:05 ` hhinnant at apple dot com 2006-01-25 2:38 ` gdr at cs dot tamu dot edu 2006-01-25 2:41 ` [Bug c++/25950] [3.4/4.0/4.1] " gdr at gcc dot gnu dot org 2006-01-25 2:54 ` hhinnant at apple dot com 2006-01-25 3:03 ` [Bug c++/25950] [3.4/4.0/4.1 Regression] [DR 152] " pinskia at gcc dot gnu dot org 2006-01-25 3:10 ` gdr at cs dot tamu dot edu 2006-01-25 3:20 ` gdr at cs dot tamu dot edu 2006-01-25 3:20 ` [Bug c++/25950] [3.4/4.0/4.1] [DR 392] " gdr at gcc dot gnu dot org 2006-01-25 3:24 ` hhinnant at apple dot com 2006-01-25 3:28 ` [Bug c++/25950] [3.4/4.0/4.1] [DR 391] " gdr at gcc dot gnu dot org 2006-01-25 3:35 ` pinskia at gcc dot gnu dot org 2006-01-25 3:41 ` gdr at cs dot tamu dot edu 2006-01-25 6:46 ` mmitchel at gcc dot gnu dot org 2006-01-25 15:51 ` gdr at cs dot tamu dot edu 2006-02-24 0:30 ` mmitchel at gcc dot gnu dot org 2006-04-05 7:10 ` pinskia at gcc dot gnu dot org 2006-04-24 23:37 ` pinskia at gcc dot gnu dot org 2006-05-25 2:37 ` mmitchel at gcc dot gnu dot org 2006-07-12 23:11 ` pinskia at gcc dot gnu dot org 2006-08-25 17:41 ` pinskia at gcc dot gnu dot org 2007-02-14 9:09 ` mmitchel at gcc dot gnu dot org 2007-02-25 16:50 ` [Bug c++/25950] " pinskia at gcc dot gnu dot org 2007-03-12 22:00 ` pinskia at gcc dot gnu dot org 2007-10-22 19:14 ` jason at gcc dot gnu dot org 2007-10-24 3:46 ` jason at gcc dot gnu dot org 2007-11-03 13:40 ` jason at gcc dot gnu dot org 2008-07-04 19:32 ` jsm28 at gcc dot gnu dot org 2008-07-31 7:04 ` pinskia at gcc dot gnu dot 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=20060124225114.2543.qmail@sourceware.org \ --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).