Quote Originally Posted by Drogin View Post
I don't really need to modify it. I just want to check the data. So it can be defined as const pointer.
Are you sure that you don't want to "check the data" in a member/friend function?

--
Mats