www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - d2 constness

There is a constness bug related to the runtime. The runtime is *still*  
not const correct after several dmd releases.
So how would one think the constness is perfect or even stable if the  
stdlib still doesn't use the correct prototype?
e.g. Object.opEquals should be:
bool opEquals(const(Object) obj) const;

And one thing I believe, if one try to use d2 seriously, he definitely  
needs a const correct stdlib first.

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