Expand Minimize

clear Function

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

template<
   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
Show:
© 2014 Microsoft