The worst Phobos template (in binderoo)

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 15 16:08:54 PDT 2016


On 9/15/16 6:58 PM, Stefan Koch wrote:
> On Thursday, 15 September 2016 at 14:43:16 UTC, Stefan Koch wrote:
>> On Thursday, 15 September 2016 at 14:38:41 UTC, Andrei Alexandrescu
>> wrote:
>>> On 09/15/2016 10:08 AM, Stefan Koch wrote:
>>>> static foreach on the other hand is a whole new can of worms.
>>>> As walter will be able to tell you.
>>>
>>> It's time to open it. -- Andrei
>>
>> Please give me an example on how it should work.
>
> Are we talking about http://wiki.dlang.org/DIP57 ?
>
> I think I can give you a partial solution for that.
> The Performance-Penalty will be less then on templates.
>
> However I can smell a bunch of un-intuitive corner-cases hiding in there.

Yes, that DIP. It would need some more formal work before defining an 
implementation. Stefan, would you want to lead that effort? -- Andrei


More information about the Digitalmars-d mailing list