Thoughts about private aliases now working
doob at me.com
Wed Feb 1 23:52:18 PST 2012
On 2012-02-02 02:14, Martin Nowak wrote:
> On Thu, 02 Feb 2012 01:55:11 +0100, Vladimir Panteleev
> <vladimir at thecybershadow.net> wrote:
>> On Wednesday, 1 February 2012 at 23:14:47 UTC, Robert Clipsham wrote:
>>> Are there any other options I'm missing?
> You need to put it in the mixin as you do with imports.
> mixin template Func()
> private alias string[string] SS;
> SS someFunc(SS s)
> return s;
If you don't want to declare the alias in the mixin another idea would
be to declare it in a new module and import that one in the mixin.
More information about the Digitalmars-d