Pseudo namespaces

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Dec 3 14:59:53 PST 2015


On 12/3/15 5:54 PM, Andrei Alexandrescu wrote:
> On 12/03/2015 05:46 PM, Steven Schveighoffer wrote:
>> On 12/3/15 3:51 PM, Andrei Alexandrescu wrote:
>>> I vaguely remembered I saw something like this a while ago:
>>>
>>> http://dpaste.dzfl.pl/f11894a098c6
>>>
>>> The trick could be more fluent, but it might have merit. Has anyone
>>> explored it? Is it a viable candidate for becoming a D idiom?
>>
>> I'm going to take a step back and ask, what's wrong with stableFun?
>
> Nothing. But one thing I was keeping an eye for would be to allow
> lst.stable.linear.xxx and lst.linear.stable.xxx with one body. -- Andrei

alias stableLinearXxx = linearStableXxx;

-Steve


More information about the Digitalmars-d mailing list