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
news:1779cc17402c.17402c1779cc_at_tid.es...

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() );
[snip]
* Same problem as above in reversible_ptr_container.hpp.

>>>>>>>>>

Fixed in cvs. Thanks.

-Thorsten


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