Boost logo

Boost Users :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-08-24 13:22:16

"JOAQUIN LOPEZ MU?Z" <joaquin_at_[hidden]> wrote in message

No precondition is stated that "a" should be nonempty, neither
in the table itself nor in the general requisites for the
table (23.1.2/7), hence "a" is allowed to be empty.

I've taken a closer look at your code and think there are some
more of these overzealous asserts:

* The following in associative_ptr_container.hpp

        iterator erase( iterator first,
                        iterator last ) // nothrow
            BOOST_ASSERT( !this->empty() );
* Same problem as above in reversible_ptr_container.hpp.


Fixed in cvs. Thanks.


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