21 Feb
2012
21 Feb
'12
9:06 p.m.
Hello Joaquín, On Tue, Feb 21, 2012 at 9:29 PM, Joaquin M Lopez Munoz <joaquin@tid.es>wrote:
Ovanes Markarian <om_boost <at> keywallet.com> writes:
Hello Joaquín,
Hi Ovanes, [...]
If you really need to call erase(iterator) with iterators from another container, the solution would be to refactor your code so as to store pair(iterator,container&)s rather than iterators and do the check before actually executing erase().
Actually, I am just too carefull. That is not possible how it is used, but want to be sure. Anyway enabling additional diagnostics might be a good idea. With Kind Regards, Ovanes.