Lines Matching defs:ordered_map
21 struct ordered_map : std::vector<std::pair<const Key, T>, Allocator> struct
23 using key_type = Key;
24 using mapped_type = T;
25 using Container = std::vector<std::pair<const Key, T>, Allocator>;
33 ordered_map(const Allocator& alloc = Allocator()) : Container{alloc} {} in ordered_map() argument
35 ordered_map(It first, It last, const Allocator& alloc = Allocator()) in ordered_map() function
37 ordered_map(std::initializer_list<T> init, const Allocator& alloc = Allocator() ) in ordered_map() argument
40 std::pair<iterator, bool> emplace(const key_type& key, T&& t) in emplace()
53 T& operator[](const Key& key) in operator []()
58 const T& operator[](const Key& key) const in operator []()
63 T& at(const Key& key) in at()
76 const T& at(const Key& key) const in at()
89 size_type erase(const Key& key) in erase()
108 iterator erase(iterator pos) in erase()
122 size_type count(const Key& key) const in count()
134 iterator find(const Key& key) in find()
146 const_iterator find(const Key& key) const in find()
158 std::pair<iterator, bool> insert( value_type&& value ) in insert()
163 std::pair<iterator, bool> insert( const value_type& value ) in insert()
177 …ename std::enable_if<std::is_convertible<typename std::iterator_traits<InputIt>::iterator_category,
181 void insert(InputIt first, InputIt last) in insert()