Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
concurrent_queue::unsafe_begin Method

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;

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

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.

Header: concurrent_queue.h

Namespace: concurrency

Show:
© 2015 Microsoft