This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- Additional Comments From igodard at pacbell dot net  2004-02-03 17:20 -------
It's fine to say you can't have a type "int&*". But then:
    int i;
    int& j = i;
     &j
should fail too. Because if this works you in fact have the type "int&*", namely:
     typeof(&j)
What are you going to do if the code does RTTI on that typeof, for example?

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]