www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - string on stack

I find lot of tango code uses stack as an optimization for using less  
heap, e.g. concat strings. It's astonishingly common, and painful to make  
it const correct, thus D2 hostile.
Ideas?


-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
Jun 17 2009