* Radde:
In const member function, does this pointer is constant,
In modern C++ 'this' is always a constant pointer value: you cannot
assign to 'this'.
or this is pointing to const object.
Yes.
How do i check this??
If you mean, how do you check what the rules are: any good C++ book,
or the standard.
If you mean, how can you check in code whether '*this' (note the
dereferencing) is constant, there's seldom any need for that: in a
'const' member function it's constant, otherwise not.
Note that you cannot check in a constructor or destructor whether the
object being constructed/destroyed is declared 'const' or not, without
providing that information yourself.