concurrent_unordered_map::swap Method

Swaps the contents of two concurrent_unordered_map objects. This method is not concurrency-safe.

void swap(
   concurrent_unordered_map& _Umap
);

Parameters

  • _Umap
    The concurrent_unordered_map object to swap with.

Requirements

Header: concurrent_unordered_map.h

Namespace: concurrency

See Also

Reference

concurrent_unordered_map Class