@property needed or not needed?

Jonathan M Davis jmdavisProg at gmx.com
Sat Dec 1 22:57:33 PST 2012


On Sunday, December 02, 2012 07:49:52 deadalnix wrote:
> And what do you think about map!(x => x * x) = generator(x, y, z)
> ?

What's that even supposed to mean? map has been given no function argument 
either as UFCS or with a normal function call, so it's not being called. And 
even if it were, it wouldn't result in an lvalue, so putting it on the left of 
an assignment makes no sense. I have no idea what you're trying to do here.

- Jonathan M Davis


More information about the Digitalmars-d mailing list