On Saturday, 21 April 2012 at 19:46:29 UTC, Mehrdad wrote:
alias int delegate(out ItemGetter next) ItemGetter;

We currently can't do the above^ in D, but what do people think about allowing it? i.e. More specifically, I think an alias expression should be able to refer to the identifier (unless it doesn't make sense, like including a struct inside itself).
(It would require a look-ahead.)

I've needed exactly this thing once.Or should I say: I needed
this exactly once*?



* Though I don't code very much in D.

Reply via email to