35template<
class Key,
class T,
class Compare>
49template<
class Key,
class T,
class Compare>
71template<
class Key,
class T,
class Compare>
72std::pair<typename vmap<Key,T,Compare>::iterator,
bool>
88 else if (
Le((*f_i).first,value.first))
95 V_c.insert( f_i , value );
99 return std::pair<iterator,bool>(f_i,success);
110template<
class Key,
class T,
class Compare>
118 if ( hint_i == high_i ) {
119 if (
empty() ||
Ge( value.first , hint_i[-1].first ) ) {
120 V_c.push_back(value);
125 if (
Lt(value.first,(*hint_i).first) )
131 hint_i = std::upper_bound( low_i, high_i, value, value_compare(
Lt) );
133 V_c.insert(hint_i,value);
134 return V_c.begin() + n;
143template<
class Key,
class T,
class Compare>
149 for (; first_i != last_i; ++first_i)
163template<
class Key,
class T,
class Compare>
176template<
class Key,
class T,
class Compare>
182 V_c.erase(first_i, last_i);
190template<
class Key,
class T,
class Compare>
196 std::pair<iterator,iterator> range(
equal_range(key) );
197 erase(range.first, range.second);
198 return range.second - range.first;
212template<
class Key,
class T,
class Compare>
222 if (
Le((*f_i).first , key) )
234template<
class Key,
class T,
class Compare>
249template<
class Key,
class T,
class Compare>
262template<
class Key,
class T,
class Compare>
263std::pair<typename vmap<Key,T,Compare>::iterator,
276template<
class Key,
class T,
class Compare>
293 if ((f_i!=
end()) &&
Le((*f_i).first,key))
294 return (*f_i).second;
298 return V_c[n].second;
311template<
class Key,
class T,
class Compare>
317 std::pair<const_iterator,const_iterator>
319 return range.second - range.first;
327template<
class Key,
class T,
class Compare>
335 if (
Le((*f_i).first , key ))
347template<
class Key,
class T,
class Compare>
362template<
class Key,
class T,
class Compare>
375template<
class Key,
class T,
class Compare>
376std::pair<typename vmap<Key,T,Compare>::const_iterator,
390template<
class Key,
class T,
class Compare>
397 return (*f_i).second;
PartBunchBase< T, Dim >::ConstIterator end(PartBunchBase< T, Dim > const &bunch)
PartBunchBase< T, Dim >::ConstIterator begin(PartBunchBase< T, Dim > const &bunch)
T * value_type(const SliceIterator< T > &)
vmap< Key, T, Compare > & operator=(const vmap< Key, T, Compare > &x)
iterator upper_bound(const key_type &x)
rep_type::iterator iterator
void erase(iterator position_i)
std::pair< iterator, iterator > equal_range(const key_type &x)
rep_type::size_type size_type
bool Le(const key_type &a, const key_type &b) const
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
bool Ge(const key_type &a, const key_type &b) const
vmap(const Compare &comp=Compare())
std::pair< iterator, bool > insert(const value_type &x)
iterator lower_bound(const key_type &x)
rep_type::const_iterator const_iterator