Steven Schveighoffer:

> Then you just wasted time duping that argument.  Instead of a defensive  
> dup, what if we had a function ensureHeaped (better name suggestions?)  

I have created a bug report to avoid this whole pair of threads to be lost in 
the dusts of time:
http://d.puremagic.com/issues/show_bug.cgi?id=5212

Feel free to add a note about your ensureHeaped() idea at the end of that 
enhancement request :-)

(To that enhancement request I have not added my idea of the @onheap attribute 
because I think it's too much complex to implement according to the design 
style of the D compiler).

Bye,
bearophile

Reply via email to