[Issue 2070] DMD should allow easy creation of stack-allocated classes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 8 10:51:37 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2070
------- Comment #1 from shro8822 at vandals.uidaho.edu 2008-08-08 12:51 -------
another solution would be to make delete an expression, like post increment,
that has it's effect after it's value is used.
you then get to use:
int i = f(delete new C());
--
More information about the Digitalmars-d-bugs
mailing list