------- Comment #2 from gdr at integrable-solutions dot net  2006-02-21 17:19 
-------
Subject: Re:  Wrong attempts to create a copy of an anonymous object

"pinskia at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes:

| ------- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-21 15:59
-------
|  Please read:
| http://gcc.gnu.org/gcc-3.4/changes.html
| 
| 
| GCC before 3.4 was accepting invalid code.
| 
| 
| -- 
| 
| pinskia at gcc dot gnu dot org changed:
| 
|            What    |Removed                     |Added
| ----------------------------------------------------------------------------
|              Status|UNCONFIRMED                 |RESOLVED
|          Resolution|                            |INVALID

In fact, there should be an open PR for this -- which is a request
for enhancement.  The code is ill-formed under C++98 and C++03; it is
well formed in C++0x (the changes are in the Working Paper.)

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26395

Reply via email to