Share via


concurrent_unordered_multiset::operator= Operator

Assigns the contents of another concurrent_unordered_multiset object to this one. This method is not concurrency-safe.

concurrent_unordered_multiset& operator=(
   const concurrent_unordered_multiset& _Uset
);

concurrent_unordered_multiset& operator=(
   concurrent_unordered_multiset&& _Uset
);

Parameters

  • _Uset
    The source concurrent_unordered_multiset object.

Return Value

A reference to this concurrent_unordered_multiset object.

Remarks

After erasing any existing elements in a concurrent unordered multiset, operator= either copies or moves the contents of _Uset into the concurrent unordered multiset.

Requirements

Header: concurrent_unordered_set.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_multiset Class