Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show:
© 2016 Microsoft