[Bug c++/35571] `static function member` cannot appeat in a constant-expression.

pluto at agmk dot net gcc-bugzilla@gcc.gnu.org
Fri Mar 14 08:50:00 GMT 2008



------- Comment #5 from pluto at agmk dot net  2008-03-14 08:49 -------
(In reply to comment #3)
> Doing:
>         typedef X<Y:: f > F;
> 
> 
> Fixes the error message.
> 

oh, so the comeau accepts invalid code :-)


-- 


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



More information about the Gcc-bugs mailing list