On 12/07/2013 07:13 PM, bearophile wrote:
Currently in D you can write: enum move = (in int dx, in int dy) pure nothrow => Point(X + dx, Y + dy);
IIRC Don said this shouldn't work since the context is not actually known at compile time.
On 12/07/2013 07:13 PM, bearophile wrote:
Currently in D you can write: enum move = (in int dx, in int dy) pure nothrow => Point(X + dx, Y + dy);
IIRC Don said this shouldn't work since the context is not actually known at compile time.