concurrent_unordered_set::operator= Operator

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

concurrent_unordered_set& operator=(
   const concurrent_unordered_set& _Uset
);

concurrent_unordered_set& operator=(
   concurrent_unordered_set&& _Uset
);

_Uset

The source concurrent_unordered_set object.

A reference to this concurrent_unordered_set object.

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

Header: concurrent_unordered_set.h

Namespace: concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft