Re: private, undefined copy ctors
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