Multiset Constructors [C++ Reference]
Keywords: stl,multiset,multiset_constructors
Date: 2009-10-09T08:22:46-0700

## Multiset Constructors

Syntax:

        #include <set>
        multiset();
        multiset( const multiset& c );
        multiset( input_iterator start, input_iterator end );
        multiset( input_iterator start, input_iterator end, const key_compare& cmp );
        explicit multiset( const key_compare& cmp );
        ~multiset();

Every multiset has a default constructor, copy constructor, and destructor.

The default constructor takes no arguments, creates a new instance of that multiset, and runs in constant time. The default copy constructor runs in linear time and can be used to create a new multiset that is a copy of the given multiset c.

The default destructor is called when the multiset should be destroyed.