Rainer Deyke: > In C++, const is transitive for direct members. It is only intransitive > for pointer/references,
Right, I have forgotten to specify that. > and even these can be made transitive through > the use of a transitive-const smart pointer class. I didn't know this. But of course you can do all you want in C++ :-) Bye and thank you, bearophile