static class declaration

Andrea 'Fyre Wyzard' Bocci fwyzard-gcc@libero.it
Thu Jan 8 13:29:00 GMT 2004


I don't know if you can have a static class. You do can have a class with 
static members...

.fw.


At 12:06 02/01/2004 (GMT -0800), He HongFu wrote:
>Hi:
>         I want to know the meaning of declaration a class with static 
> following:
>
>         static class Foo
>         {
>                 //...
>         }
>
>         Which is do well with MSVC compiler, but G++ cannot compile it.
>
>         Thanks in advance!
>
> 
>He HongFu




More information about the Gcc-help mailing list