다음을 통해 공유


concurrent_queue::clear 메서드

현재 큐에 추가된 요소를 소멸시켜 동시 큐를 지웁니다. 이 메서드는 동시성이 보장되지 않습니다.

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

요구 사항

헤더: concurrent_queue.h

네임스페이스: 동시성

참고 항목

기타 리소스

concurrent_queue 클래스