On May 31, 2011, at 10:47 AM, Geoffrey Garen wrote:

>> Even in a class that is used in a tree, I still think simple member variable 
>> accessor methods (that do not return tree neighbors)  should be const.
> 
> OK. Why?

Because it indicates to me and the compiler, that the method doesn't have side 
effects.

Simon

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to