• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: private, undefined copy ctors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: private, undefined copy ctors


  • Subject: Re: private, undefined copy ctors
  • From: Howard Hinnant <email@hidden>
  • Date: Mon, 19 Mar 2007 15:57:55 -0400

On Mar 19, 2007, at 2:54 PM, Steve Checkoway wrote:

It seems like there are two bugs. One in the standard for requiring the copy ctor check when taking a reference to a temporary, and one in gcc for not following the standard when the use of a temporary isn't explicit.

I believe you're half right. :-) I think gcc is currently following the letter of the standard. The working draft of C++0X has been changed such that your original example will compile.


Here is a link to the CWG issue for this change in the standard:

http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#391

-Howard

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >private, undefined copy ctors (From: Steve Checkoway <email@hidden>)
 >Re: private, undefined copy ctors (From: "Clark Cox" <email@hidden>)
 >Re: private, undefined copy ctors (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: private, undefined copy ctors
  • Next by Date: Programmatic access to NetInfo?
  • Previous by thread: Re: private, undefined copy ctors
  • Next by thread: Programmatic access to NetInfo?
  • Index(es):
    • Date
    • Thread