$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Pavol Droba (droba_at_[hidden])
Date: 2004-08-31 03:54:13
Hi,
I have encountered a problem with vc8.0 std library. I was able to fix
it, but I'm not sure what is correct according to standard.
The problem can be narrowed to one simple case. In vc8.0 method
iterator std::list<>::erase(iterator First, iterator Last)
returns a 'singular' iterator when the list is empty after erase operation.
Because I'm dependant on the returned iterator to make insertion
at this point later on, I had to make an explicit workaroud.
I would expect it to return .end() iterator in this case.
Is this behavior correct according to standard or not?
If not, is it reasonable to submit bug report?
Thanks,
Pavol