[Bug c++/15684] Pointer to member function called on incomplete type should diag

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 28 02:01:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-27 17:00 -------
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. 

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


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



More information about the Gcc-bugs mailing list