April 08, 2012
On Sun, Apr 08, 2012 at 06:09:48PM +0200, Benjamin Thaut wrote: [...]
> Thanks, then this is a misunderstanding on my side, and this topic is irrelevant. But what about calling const methods on immutable objects?
[...]

Basically, the way const/immutable works is:

	           const
	          /     \
	unqualified     immutable

Both unqualified and immutable implicitly convert to const, but not the other way around (except in certain special cases, like copying ints).


T

-- 
People walk. Computers run.
1 2
Next ›   Last »