JC> I'm not sure I agree. I think you lose clarity. Declaring a const
JC> method for a class suggests that a const version of that class might
JC> useful. I'm hard put to think up much use for a stream if you can't
JC> read or write it.
I don't agree.
When a method doesn't modify the state of the object it is applied on,
declare it const. If you don't, you make reuse of the class harder.
Thomas
---
þ MM 1.0 #0113 þ Member: International Brotherhood of Tagline Thieves!
---------------
* Origin: McMeier & Son BBS (2:301/138)
|