Impressed

Stuart stugol at gmx.com
Fri Jul 27 06:16:01 PDT 2012


On Friday, 27 July 2012 at 07:42:51 UTC, Nick Sabalausky wrote:
> On Fri, 27 Jul 2012 08:31:36 +0200
> Jacob Carlborg <doob at me.com> wrote:
>> 
>> Note that iterators in .NET and C++ are a bit different. .NET 
>> has language support with the "yield" keyword.
>> 
>
> I wonder how that works under the hood.

It's well-documented. The compiler creates an anonymous class 
with a state machine. It's really useful.


More information about the Digitalmars-d mailing list