Of course one sometimes needs to combine some of these different uses of ‘
const
’ which can get confusing as inconst int*const Method3(const int*const&)const;
where the 5 uses ‘
const
’ respectively mean that the variable pointed to by the returned pointer & the returned pointer itself won’t be alterable and that the method does not alter the variable pointed to by the given pointer, the given pointer itself & the object of which it is a method.
Thursday, September 20, 2007
aouch!!! my brain hurts
while reading about Qt, C and the like, i found this:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment