Is it possible to handle 'magic' property assignments a'la PHP?

Jacob Carlborg doob at me.com
Tue Jan 7 06:35:43 PST 2014


On 2014-01-07 13:22, Philippe Sigaud wrote:

> What about:
>
> void loop(void delegate() dg);
>
> loop({
> ...
>
> });
>
> Since any block is a void delegate().

That's what we have now, and that doesn't look like a built-in statement ;)

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list