Automatic opApply iteration counter

Steven Schveighoffer schveiguy at yahoo.com
Tue Apr 13 05:29:20 PDT 2010


On Tue, 13 Apr 2010 06:13:37 -0400, Steven Schveighoffer  
<schveiguy at yahoo.com> wrote:

> Don't forget, opApply is just a function, you can use it as such :)

Oh, and don't forget to always make opApply take a scope delegate!   
Otherwise, it allocates the calling function's frame on the heap (in D2 at  
least).

-Steve



More information about the Digitalmars-d mailing list