Inner modules / namespaces

Bill Baxter dnewsgroup at billbaxter.com
Sun Sep 16 23:06:10 PDT 2007


Daniel Keep wrote:
> The way I usually work around this is like so:
> 
> template Namespace_()
> {
>   // Stuff in the namespace.
> }
> 
> mixin Namespace_ Namespace;
> 
> Kinda hacky, but it works :)
> 
> 	-- Daniel

Ah, that's a good idea.
[Added it to the enh request.]

--bb



More information about the Digitalmars-d mailing list