Searched defs:ordered_map (Results 1 – 2 of 2) sorted by relevance
/third_party/json/include/nlohmann/ |
D | ordered_map.hpp | 16 struct ordered_map : std::vector<std::pair<const Key, T>, Allocator> struct 18 using key_type = Key; 19 using mapped_type = T; 20 using Container = std::vector<std::pair<const Key, T>, Allocator>; 28 ordered_map(const Allocator& alloc = Allocator()) : Container{alloc} {} in ordered_map() argument 30 ordered_map(It first, It last, const Allocator& alloc = Allocator()) in ordered_map() function 32 ordered_map(std::initializer_list<T> init, const Allocator& alloc = Allocator() ) in ordered_map() function 35 std::pair<iterator, bool> emplace(const key_type& key, T&& t) in emplace() 48 T& operator[](const Key& key) in operator []() 53 const T& operator[](const Key& key) const in operator []() [all …]
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 16405 struct ordered_map : std::vector<std::pair<const Key, T>, Allocator> struct 16407 using key_type = Key; 16408 using mapped_type = T; 16409 using Container = std::vector<std::pair<const Key, T>, Allocator>; 16417 ordered_map(const Allocator& alloc = Allocator()) : Container{alloc} {} in ordered_map() argument 16419 ordered_map(It first, It last, const Allocator& alloc = Allocator()) in ordered_map() function 16421 ordered_map(std::initializer_list<T> init, const Allocator& alloc = Allocator() ) in ordered_map() argument 16424 std::pair<iterator, bool> emplace(const key_type& key, T&& t) in emplace() 16437 T& operator[](const Key& key) in operator []() 16442 const T& operator[](const Key& key) const in operator []() [all …]
|