mirror of
https://github.com/nlohmann/json.git
synced 2025-07-24 02:21:01 +03:00
Fix usage examples' comments for std::multiset
This commit is contained in:
@ -208,8 +208,8 @@ TEST_CASE("README", "[hide]")
|
||||
// maybe ["two", "three", "four", "one"]
|
||||
|
||||
std::multiset<std::string> c_mset {"one", "two", "one", "four"};
|
||||
json j_mset(c_mset); // only one entry for "one" is used
|
||||
// maybe ["one", "two", "four"]
|
||||
json j_mset(c_mset); // both entries for "one" are used
|
||||
// maybe ["one", "two", "one", "four"]
|
||||
|
||||
std::unordered_multiset<std::string> c_umset {"one", "two", "one", "four"};
|
||||
json j_umset(c_umset); // both entries for "one" are used
|
||||
|
Reference in New Issue
Block a user