bsl::erase

Erase all the elements in the specified vector vec that compare equal to the specified value. Return the number of elements erased.

Synopsis

Declared in <bslstl_vector.h>

template<
    class VALUE_TYPE,
    class ALLOCATOR,
    class BDE_OTHER_TYPE>
vector<VALUE_TYPE, ALLOCATOR>::size_type
erase(
    vector<VALUE_TYPE, ALLOCATOR>& vec,
    BDE_OTHER_TYPE const& value);