concurrent_priority_queue::swap Method
Swaps the contents of two concurrent priority queues. This method is not concurrency-safe.
void swap(
concurrent_priority_queue& _Queue
);
Parameters
- _Queue
The concurrent_priority_queue object to swap contents with.
Requirements
Header: concurrent_priority_queue.h
Namespace: concurrency