add s_multiset

This commit is contained in:
chatlanin
2022-03-03 12:15:10 +03:00
parent 9d3c2a4153
commit f87a80b495
3 changed files with 16 additions and 3 deletions

View File

@@ -21,4 +21,10 @@ int main(int argc, char *argv[])
hack::container::v_multiset(v, "asdf", "qwer", "zcv");
for(const auto& c : v) std::cout << c << std::endl;
}
{// ex: s_multiset
std::set<int> s;
hack::container::s_multiset(s, 1, 2, 3, 3, 2, 1);
for(const auto& c : s) std::cout << c << std::endl;
}
}