Home | History | Annotate | Download | only in runtime

Lines Matching refs:allocator

24 #include "base/allocator.h"
32 typename Allocator = TrackingAllocator<std::pair<const K, V>, kAllocatorTagSafeMap>>
35 typedef SafeMap<K, V, Comparator, Allocator> Self;
38 typedef typename ::std::map<K, V, Comparator, Allocator>::key_compare key_compare;
39 typedef typename ::std::map<K, V, Comparator, Allocator>::value_compare value_compare;
40 typedef typename ::std::map<K, V, Comparator, Allocator>::allocator_type allocator_type;
41 typedef typename ::std::map<K, V, Comparator, Allocator>::iterator iterator;
42 typedef typename ::std::map<K, V, Comparator, Allocator>::const_iterator const_iterator;
43 typedef typename ::std::map<K, V, Comparator, Allocator>::size_type size_type;
44 typedef typename ::std::map<K, V, Comparator, Allocator>::key_type key_type;
45 typedef typename ::std::map<K, V, Comparator, Allocator>::value_type value_type;
49 explicit SafeMap(const key_compare& cmp, const allocator_type& allocator = allocator_type())
50 : map_(cmp, allocator) {
155 ::std::map<K, V, Comparator, Allocator> map_;
158 template <typename K, typename V, typename Comparator, typename Allocator>
159 bool operator==(const SafeMap<K, V, Comparator, Allocator>& lhs,
160 const SafeMap<K, V, Comparator, Allocator>& rhs) {
164 template <typename K, typename V, typename Comparator, typename Allocator>
165 bool operator!=(const SafeMap<K, V, Comparator, Allocator>& lhs,
166 const SafeMap<K, V, Comparator, Allocator>& rhs) {