Fun: Shooting yourself in the foot in D

Patric Dexheimer via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 28 02:55:34 PDT 2016


On Friday, 28 October 2016 at 09:29:41 UTC, Chris wrote:
> On Friday, 28 October 2016 at 01:25:55 UTC, Kirill Kryukov 
> wrote:
>
>>
>> You shoot yourself in a tuple containing your foot, boot and 
>> sock.
>
> Cannot implicitly convert expression (map(shoot(foot))) of type 
> MapResult to std.ouch.InputRange!limb

You create the bullet in your foot for efficiency (CTFE).


More information about the Digitalmars-d mailing list