Hi,
Sorry if this has already been answered.
Given a std::list and a reverse_iterato r is there a way to erase the
element pointed to by the reverse_iterato r via the erase method?
Apparently the erase method takes a normal iterator and it fails to
compile if I pass it a reverse_iterato r. On the other hand, I don't
wan't to use myList.remove( *(myReverseIter ator)) for performance reason.
Can anyone help?
Thanks by advance,
JF.