$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Multi-Index] Design Rationale behind erase inordered_index container
From: Igor R (boost.lists_at_[hidden])
Date: 2012-02-21 11:57:20
>> 1: multi_index mimics the behavior of STL containers to the greatest
>> extent possible, and their erase(iterator) functions return the iterator of
>> the following element.
>
> Which ones? std::map<...>::erase either returns void or number of deleted
> elements.
It was just overlooked in final standard version, and fixed later:
http://listarchives.boost.org/boost-users/2011/12/72162.php