d2 constness

davidl davidl at nospam.org
Sun Jul 26 08:21:37 PDT 2009


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/



More information about the Digitalmars-d mailing list