Concurrently unsafe modifiers
Concurrently unsafe modifiers#
All member functions in this section can only be performed serially. The behavior is undefined in case of concurrent execution of these methods with other (either concurrently safe) methods.
Removes all elements from the container.
void swap( concurrent_priority_queue& other );
Swaps contents of
Swaps allocators if
get_allocator() != other.get_allocator()the behavior is undefined.