This documentation is archived and is not being maintained.

concurrent_queue::clear Method

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

Show: