std::set and std::multiset
suggest changeIntroduction
set is a type of container whose elements are sorted and unique. multiset is similar, but, in the case of multiset, multiple elements can have the same value.
Remarks
Different styles of C++ have been used in the examples. Be careful if you are using a C++98 compiler: some of that code may not be usable.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents