Thoughts about private aliases now working

Vladimir Panteleev vladimir at thecybershadow.net
Wed Feb 1 16:55:11 PST 2012


On Wednesday, 1 February 2012 at 23:14:47 UTC, Robert Clipsham 
wrote:
> Are there any other options I'm missing?

How about this:

> a.d
> ----
> private alias string[string] SS;
> mixin template Func()
> {

      private alias a.SS SS;

>    SS someFunc(SS s)
>    {
>        return s;
>    }
> }

( Amusing that the solution to a problem regarding private 
aliases would be more private aliases :) )


More information about the Digitalmars-d mailing list