Share via


concurrent_queue::clear Method

Clears the concurrent queue, destroying any currently enqueued elements. This method is not concurrency-safe.

void clear();

Requirements

Header: concurrent_queue.h

Namespace: concurrency

See Also

Reference

concurrent_queue Class