Home
last modified time | relevance | path

Searched defs:ordered_map (Results 1 – 3 of 3) sorted by relevance

/third_party/json/include/nlohmann/
Dordered_map.hpp21 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() function
35 ordered_map(It first, It last, const Allocator& alloc = Allocator()) in ordered_map() argument
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 []()
[all …]
/third_party/json/doc/mkdocs/docs/api/
Dordered_map.md1 # ordered_map chapter
/third_party/json/single_include/nlohmann/
Djson.hpp17308 struct ordered_map : std::vector<std::pair<const Key, T>, Allocator> struct
17310 using key_type = Key;
17311 using mapped_type = T;
17312 using Container = std::vector<std::pair<const Key, T>, Allocator>;
17320 ordered_map(const Allocator& alloc = Allocator()) : Container{alloc} {} in ordered_map() function
17322 ordered_map(It first, It last, const Allocator& alloc = Allocator()) in ordered_map() function
17324 ordered_map(std::initializer_list<T> init, const Allocator& alloc = Allocator() ) in ordered_map() argument
17327 std::pair<iterator, bool> emplace(const key_type& key, T&& t) in emplace()
17340 T& operator[](const Key& key) in operator []()
17345 const T& operator[](const Key& key) const in operator []()
[all …]