------- Comment #2 from photon at seznam dot cz  2007-09-18 12:01 -------
(In reply to comment #1)
> No, "B" is correct.
> 
> 
>         A &Aref = Binst;
>         Aref = Cinst;
> 
> is the same as:
> Binst = (A)Cinst;
> 

"Binst = (A)Cinst" would not compile (C is not derived from B).


-- 

photon at seznam dot cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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

Reply via email to