Compartir a través de


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
);

Parameters

  • _Uset
    The source concurrent_unordered_set object.

Return Value

A reference to this concurrent_unordered_set object.

Remarks

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

Requirements

Header: concurrent_unordered_set.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_set Class