Lines Matching refs:one
201 std::set<std::string> c_set {"one", "two", "three", "four", "one"};
202 json j_set(c_set); // only one entry for "one" is used
203 // ["four", "one", "three", "two"]
205 std::unordered_set<std::string> c_uset {"one", "two", "three", "four", "one"};
206 json j_uset(c_uset); // only one entry for "one" is used
207 // maybe ["two", "three", "four", "one"]
209 std::multiset<std::string> c_mset {"one", "two", "one", "four"};
210 json j_mset(c_mset); // both entries for "one" are used
211 // maybe ["one", "two", "one", "four"]
213 std::unordered_multiset<std::string> c_umset {"one", "two", "one", "four"};
214 json j_umset(c_umset); // both entries for "one" are used
215 // maybe ["one", "two", "one", "four"]
219 std::map<std::string, int> c_map { {"one", 1}, {"two", 2}, {"three", 3} };
221 // {"one": 1, "two": 2, "three": 3}
223 std::unordered_map<const char*, float> c_umap { {"one", 1.2f}, {"two", 2.3f}, {"three", 3.4f} };
225 // {"one": 1.2, "two": 2.3, "three": 3.4}
227 std::multimap<std::string, bool> c_mmap { {"one", true}, {"two", true}, {"three", false}, {"three", true} };
228 json j_mmap(c_mmap); // only one entry for key "three" is used
229 // maybe {"one": true, "two": true, "three": true}
231 std::unordered_multimap<std::string, bool> c_ummap { {"one", true}, {"two", true}, {"three", false}, {"three", true} };
232 json j_ummap(c_ummap); // only one entry for key "three" is used
233 // maybe {"one": true, "two": true, "three": true}
268 "baz": ["one", "two", "three"],
293 // { "op":" replace", "path": "/baz", "value": ["one", "two", "three"] },