[phobos] Time to get ready for the next release

Steve Schveighoffer schveiguy at yahoo.com
Fri Apr 22 13:43:58 PDT 2011


It doesn't work for me.  See:

http://d.puremagic.com/issues/show_bug.cgi?id=4174
http://d.puremagic.com/issues/show_bug.cgi?id=4182

I should say, 4174 is due to using interfaces.

-Steve




>________________________________
>From: David Simcha <dsimcha at gmail.com>
>To: Steve Schveighoffer <schveiguy at yahoo.com>; Discuss the phobos library for D <phobos at puremagic.com>
>Sent: Friday, April 22, 2011 4:32 PM
>Subject: Re: [phobos] Time to get ready for the next release
>
>
>
>
>
>On Fri, Apr 22, 2011 at 4:28 PM, Steve Schveighoffer <schveiguy at yahoo.com> wrote:
>
>I also don't like the new operator overloading scheme in D2, since there are oodles of problems with template methods and classes, but they are much more powerful than the old method.  Since the old methods are unofficially still there, I have something to fall back on for dcollections, but I expect some day to have to drop all references to the old operator overloading functions.  Is it frustrating?  Yes.  Does it seem pointless?  Yes.  But my single opinion and my library cannot be the reason that an obviously better system isn't adopted.
>>
>>
>>
>>-Steve
>>
>>
>
>This is fixable in one line per class:
>
>mixin(oldOperatorOverloading);
>
>Such a mixin would automagically create new style operator overloads that forward to the old ones.  It would be trivial, though somewhat tedious, to write, but once written the problem would be solved forever. 
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110422/5316cc02/attachment.html>


More information about the phobos mailing list