static data members inside constant function ?

Hey Guys,

I was reading about bitwise constness. It says that, inside a constant member function we can only modify static members. I was just wondering as to why they allowed even static members to be modified? Shouldn't everything be constant?

Please let me know

Thanks
const member functions imply that 'this' is constant. Static variables do not requite the use of 'this' and therefore are not constant.
Aha. Makes perfect sense. Thanks Disch.

Topic archived. No new replies allowed.