version: multiple conditions

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 16 13:57:04 PDT 2015


On 6/16/2015 1:36 PM, Jonathan M Davis wrote:
> On Tuesday, 16 June 2015 at 19:55:21 UTC, Jacob Carlborg wrote:
>> On 2015-06-16 12:05, Walter Bright wrote:
>>
>>> Actually, D does quite a bit of that. For example, it deliberately does
>>> not allow > to be overloaded separately from <.
>>
>> Which has its own limitations [1].
>>
>> [1] https://issues.dlang.org/show_bug.cgi?id=14593
>
> Sounds like it's preventing an abuse of operator overloading to me... :)

Yup, it's doing its job!

Use of expression templates in C++ to implement DSLs is probably some of the 
most awful code ever conceived.



More information about the Digitalmars-d mailing list