www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - statis this Foo {}

reply mandel <oh no.es> writes:
Hi,

I like to ask of the meaning of
static this Foo {}
I thought I could use it like the C++ namespace keyword.
But static doesn't seem to have an effect.
Things that do not have an effect should result in compiler
warnings or even errors.
Dec 02 2007
parent reply "Jarrett Billingsley" <kb3ctd2 yahoo.com> writes:
"mandel" <oh no.es> wrote in message news:fiu42i$22kk$1 digitalmars.com...
 Hi,

 I like to ask of the meaning of
 static this Foo {}
 I thought I could use it like the C++ namespace keyword.
 But static doesn't seem to have an effect.
 Things that do not have an effect should result in compiler
 warnings or even errors.
That's not even a valid grammatical construction. It doesn't compile.
Dec 02 2007
parent mandel <oh no.es> writes:
Jarrett Billingsley wrote:
 That's not even a valid grammatical construction.  It doesn't compile.
Sorry, I managed to mix up my paste buffer and didn't noticed it.
Dec 02 2007