On Wed, May 28, 2003 at 09:58:46AM +0200, Lars Gullik Bjønnes wrote: > but it is not iterator -> const_iterator that is cumbersom (as you > have shown), but const_iterator -> iterator.
Ah ok. Well for this the reinterpret_cast would work too, but we shouldn't use it as this would not be eliminated when we switch over to std::list. This is rather a sign that there is no const correctness in this area. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)