[Issue 2070] DMD should allow easy creation of stack-allocated classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 12 07:09:16 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2070





------- Comment #3 from 2korden at gmail.com  2008-08-12 09:09 -------
I think he was making a proposal. The same one, in fact, the only difference is
"delete" keyword used instead of "scope".

But foo(scope new Bar()) is far more intuitive than foo(delete new Bar()) to
me.


-- 



More information about the Digitalmars-d-bugs mailing list