Home | History | Annotate | Download | only in map

Lines Matching defs:Key

12 // template <class Key, class T, class Compare = less<Key>,
13 // class Allocator = allocator<pair<const Key, T>>>
21 struct Key {
22 template <typename T> Key(const T&) {}
23 bool operator< (const Key&) const { return false; }
29 std::map<Key, int>::iterator it = std::map<Key, int>().find(Key(0));
30 std::pair<std::map<Key, int>::iterator, bool> result =
31 std::map<Key, int>().insert(std::make_pair(Key(0), 0));