Is this a bug or feature?

%u u at fearof.spm
Tue Jan 16 08:00:20 PST 2007


== Quote from Kirk McDonald (kirklin.mcdonald at gmail.com)'s article
> If you want a delegate with a more persistent context
>      void foo() {

Doesn't this solution only work because the newed and collected
memory is not overwritten? Therefore "more persistent" only means
until it is overwritten?

Shouldn't one code
>      static void foo() {


More information about the Digitalmars-d-learn mailing list