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:
http://lists.boost.org/boost-users/2011/12/72162.php


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net