Boost logo

Boost Users :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-08-24 11:05:57

"JOAQUIN LOPEZ MU?Z" <joaquin_at_[hidden]> wrote in message
> > size_type erase( const key_type& x ) // nothrow
> > {
> > BOOST_ASSERT( !this->empty() );

Why the BOOST_ASSERT? Do you require that the container
be non-empty for erase to be callable? Am I missing something?


Hm...I couldn't find anything on this in the standard. Can you locate the
description for map<K,V>::erase( const K&) ?



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