Fully transitive const is not necessary

Walter Bright newshound1 at digitalmars.com
Wed Apr 2 22:23:45 PDT 2008


Craig Black wrote:
> This is due to the fact that it has a 
> completely different design goal from C++'s const, based on a 
> hypothetical compiler optimization benefit that no one seems to fully 
> understand.

See http://www.digitalmars.com/d/2.0/const-faq.html#const for what the 
goals are.



More information about the Digitalmars-d mailing list