Share via


concurrent_unordered_map::operator= Operator

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

concurrent_unordered_map& operator=(
   const concurrent_unordered_map& _Umap
);

concurrent_unordered_map& operator=(
   concurrent_unordered_map&& _Umap
);

Parameters

  • _Umap
    The source concurrent_unordered_map object.

Return Value

A reference to this concurrent_unordered_map object.

Remarks

After erasing any existing elements a concurrent vector, operator= either copies or moves the contents of _Umap into the concurrent vector.

Requirements

Header: concurrent_unordered_map.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_map Class