57template<
class Key,
class T,
class Compare = dummy_less<Key> >
75 return comp(x.first, y.first);
129 vmap(
const Compare& comp = Compare()) :
Lt(comp) {}
164template <
class Key,
class T,
class Compare>
170template <
class Key,
class T,
class Compare>
bool operator<(const vmap< Key, T, Compare > &x, const vmap< Key, T, Compare > &y)
bool operator==(const vmap< Key, T, Compare > &x, const vmap< Key, T, Compare > &y)
constexpr double c
The velocity of light in m/s.
std::string::iterator iterator
bool operator()(const Key l, const Key r) const
vmap< Key, T, Compare > & operator=(const vmap< Key, T, Compare > &x)
iterator upper_bound(const key_type &x)
reverse_iterator rbegin()
bool Gt(const key_type &a, const key_type &b) const
size_type max_size() const
size_type capacity() const
std::vector< value_type > rep_type
rep_type::const_reference const_reference
rep_type::iterator iterator
void reserve(size_type n)
void erase(iterator position_i)
std::pair< iterator, iterator > equal_range(const key_type &x)
const_reverse_iterator rbegin() const
rep_type::size_type size_type
const_iterator begin() const
bool Le(const key_type &a, const key_type &b) const
rep_type::const_reverse_iterator const_reverse_iterator
key_compare key_comp() const
void swap(vmap< Key, T, Compare > &x)
rep_type::reference reference
T & operator[](const key_type &k)
iterator find(const key_type &x)
size_type count(const key_type &x) const
std::pair< Key, T > value_type
value_compare value_comp() const
bool Ge(const key_type &a, const key_type &b) const
vmap(const Compare &comp=Compare())
const_iterator end() const
const_reverse_iterator rend() const
rep_type::reverse_iterator reverse_iterator
rep_type::difference_type difference_type
std::pair< iterator, bool > insert(const value_type &x)
iterator lower_bound(const key_type &x)
rep_type::const_iterator const_iterator
value_compare(const Compare &c)
bool operator()(const value_type &x, const value_type &y) const