Anonymous function syntax

Walter Bright newshound2 at digitalmars.com
Thu Sep 22 12:28:20 PDT 2011


On 9/22/2011 9:06 AM, Andrei Alexandrescu wrote:
> On 9/22/11 10:42 AM, pillsy wrote:
>> _1 + _2
>>
>> I'm not exactly a D template metaprogramming pro, but I think this would work
>> for a lot of common cases.
>
> Such an approach has caused more trouble than benefits in C++.

Besides just looking awfully hackish.


More information about the Digitalmars-d mailing list