[Bug c++/33470] Reassignment of a reference to a polymorphic class fails at runtime
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Sep 18 11:00:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-09-18 11:00 -------
No, "B" is correct.
A &Aref = Binst;
Aref = Cinst;
is the same as:
Binst = (A)Cinst;
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33470
More information about the Gcc-bugs
mailing list