This documentation is archived and is not being maintained.

concurrent_vector::front Method

Returns a reference or a const reference to the first element in the concurrent vector. If the concurrent vector is empty, the return value is undefined. This method is concurrency-safe.

reference front();
const_reference front() const;

A reference or a const reference to the first element in the concurrent vector.

Header: concurrent_vector.h

Namespace: Concurrency

Show: