concurrent_vector::size Method
Returns the number of elements in the concurrent vector. This method is concurrency-safe.
size_type size() const;
Return Value
The number of elements in this concurrent_vector object.
Remarks
The returned size is guaranteed to include all elements appended by calls to the function push_back, or grow operations that have completed prior to invoking this method. However, it may also include elements that are allocated but still under construction by concurrent calls to any of the growth methods.
Requirements
Header: concurrent_vector.h
Namespace: concurrency