Boost logo

Boost Users :

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:

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at