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.

clear Function

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

   typename _Ty,
   class _Ax
void concurrent_queue<_Ty,_Ax>::clear();

Header: concurrent_queue.h

Namespace: concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft