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++/15684] Pointer to member function called on incomplete type should diag


------- Additional Comments From leor at bdsoft dot com  2004-05-27 17:12 -------
(In reply to comment #1)
> Not a bug.
> From the standard, 8.3.3:
> class Y;
> char Y::* pmc; 
> ...
> Similarly, the declaration of pmc is well-formed even though Y is an 
incomplete type. 

OK, I'm no expert, but all it says is that the declaration is well-formed, not 
that you can actually use it (the way they show pmi and pmf being used)
   -leor



-- 


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


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