|
|
@@ -55,19 +55,22 @@ class SortedSet |
|
|
|
public:
|
|
|
|
//==============================================================================
|
|
|
|
/** Creates an empty set. */
|
|
|
|
SortedSet() noexcept = default;
|
|
|
|
// VS2013 doesn't allow defaulted noexcept constructors.
|
|
|
|
SortedSet() noexcept {}
|
|
|
|
|
|
|
|
/** Creates a copy of another set. */
|
|
|
|
SortedSet (const SortedSet&) = default;
|
|
|
|
|
|
|
|
/** Creates a copy of another set. */
|
|
|
|
SortedSet (SortedSet&&) noexcept = default;
|
|
|
|
// VS2013 doesn't allow defaulted noexcept constructors.
|
|
|
|
SortedSet (SortedSet&& other) noexcept : data (std::move (other.data)) {}
|
|
|
|
|
|
|
|
/** Makes a copy of another set. */
|
|
|
|
SortedSet& operator= (const SortedSet&) = default;
|
|
|
|
|
|
|
|
/** Makes a copy of another set. */
|
|
|
|
SortedSet& operator= (SortedSet&&) noexcept = default;
|
|
|
|
// VS2013 doesn't allow defaulted noexcept constructors.
|
|
|
|
SortedSet& operator= (SortedSet&& other) noexcept { data = std::move (other.data); return *this; }
|
|
|
|
|
|
|
|
/** Destructor. */
|
|
|
|
~SortedSet() noexcept {}
|
|
|
|