Cannot have properties on const references?

Tobias Pankrath tobias at pankrath.net
Sun Sep 25 03:10:42 PDT 2011


> 
> Property functions are still functions. A member function must be const
> for it to be callable on a const object.

Since we have transitive const, why can't the compiler deduce which 
methods can be called on const instances? 


More information about the Digitalmars-d-learn mailing list