31 #ifndef __CLAW_MAX_VECTOR_HPP__
32 #define __CLAW_MAX_VECTOR_HPP__
53 template<
typename E,
typename Comp = std::less<E>,
54 typename Container = std::vector<E> >
84 #endif // __CLAW_MAX_VECTOR_HPP__
Container container_type
The type of the container in which the values are stored.
Implementation of the claw::max_vector class.
const container_type & get_v() const
Get the stored values.
Fill a container with some values, keeping only all the "maximum" inserted values.
void add(const value_type &e)
Insert a value in the vector.
E value_type
The type of the values stored in the container.
Comp comparator_type
The comparator used to compare the values inserted.