extern(C++, NS)

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 29 05:27:11 PST 2015


On Sunday, 29 November 2015 at 13:18:16 UTC, Timon Gehr wrote:
> It is mostly about implementation now (and figuring out a 
> couple of corner cases, for which the first version could just 
> deny support).
>
Awesome, much looking forwards to it!

> Something like this seems to be enough for your needs though:
>
> mixin({string s;
>     foreach(m;__traits(allMembers,std))
>         s~=`alias `~m~`=std.`~m~`;`;
>     return s;
> }());

You're right, thanks! Works like a charm. :)



More information about the Digitalmars-d mailing list