Share via


concurrent_queue::unsafe_begin Method

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

iterator unsafe_begin();
const_iterator unsafe_begin() const;

Return Value

An iterator of type iterator or const_iterator to the beginning of the concurrent queue object.

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