Udostępnij za pośrednictwem


concurrent_vector::back Method

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

reference back();
const_reference back() const;

Return Value

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

Requirements

Header: concurrent_vector.h

Namespace: Concurrency

See Also

Reference

concurrent_vector Class