[Bug c++/14000] Can create and use datum of a type you cannot name

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Feb 3 17:27:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-03 17:27 -------
In you example:
    int i;
    int& j = i;
     &j

&j really means the address which j is stored so it is of type "int*" not of int&*.

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


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



More information about the Gcc-bugs mailing list