Instantiating STL set and multiset of Integers : multiset « Set Multiset « C++






Instantiating STL set and multiset of Integers

  
#include <set>

int main ()
{
    using namespace std;

    set <int> setIntegers;
    multiset <int> msetIntegers;

    return 0;
}
  
    
  








Related examples in the same category

1.Add elements into an integer set and output all added elements
2.Assign elements to another multiset with ascending order
3.Use std::copy to print all elements in a multiset