How Nested Functions Work, part 1

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Sep 2 06:45:00 PDT 2009


Jarrett Billingsley wrote:
> Well repeat should probably always take a delegate since most likely,
> you're going to be passing it a lambda. However I agree that it would
> be very, very nice to be able to make APIs take just delegates and
> allow functions to be implicitly cast to them. You can already make
> your own thunks, but they're not going to be as efficient as something
> that actually works on an ABI level.

Did someone file a bug report on this?

Andrei




More information about the Digitalmars-d mailing list