共用方式為


concurrent_queue::unsafe_end Method

Returns an iterator of type iterator or const_iterator to the end of the concurrent queue. This method is not concurrency-safe.

iterator unsafe_end();

const_iterator unsafe_end() const;

Return Value

An iterator of type iterator or const_iterator to the end of the concurrent queue.

Remarks

The iterators for the concurrent_queue class are primarily intended for debugging, as they are slow, and iteration is not concurrency-safe with respect to other queue operations.

Requirements

Header: concurrent_queue.h

Namespace: concurrency

See Also

Reference

concurrent_queue Class