The object operator

TheHamster via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 14 09:35:23 PDT 2015


On Friday, 14 August 2015 at 14:20:57 UTC, Timon Gehr wrote:
> On 08/14/2015 06:17 AM, TheHamster wrote:
>>[...]
>
> Close enough? :o)
>
> import std.typecons; // (workaround for lack of seq return)
>
> [...]

Cool, I guess it is about as close as you can get in D with 
compiler support. Is $ a good choice in D? It seems like it 
might, in some cases be a bad choice(since it is used for slicing 
and such)?




More information about the Digitalmars-d mailing list