Home | History | Annotate | Download | only in containers

Lines Matching defs:SmallMap

43 //  - SmallMap combines the performance benefits of the brute-force-searched
52 // SmallMap will pick up the comparator from the underlying map type. In
59 // operator< for your map and supply yor own version of == to the SmallMap.
62 // base::SmallMap<std::map<MyKey, MyValue>, 4, std::equal_to<KyKey> >
69 // and value types for the SmallMap.
71 // allocated with the SmallMap object rather than separately on
81 // SmallMap, when the map exceeds the threshold of kArraySize and we
88 // base::SmallMap< std::map<string, int> > days;
97 // You should assume that SmallMap might invalidate all the iterators
185 class SmallMap {
199 SmallMap() : size_(0), functor_(MapInit()) {}
201 explicit SmallMap(const MapInit& functor) : size_(0), functor_(functor) {}
204 SmallMap(const SmallMap& src) {
208 void operator=(const SmallMap& src) {
218 ~SmallMap() {
292 friend class SmallMap;
374 friend class SmallMap;
612 void InitFrom(const SmallMap& src) {
637 inline bool SmallMap<NormalMap, kArraySize, EqualKey,
644 inline bool SmallMap<NormalMap, kArraySize, EqualKey,