Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the maximum size to which the concurrent vector can grow without having to allocate more memory. This method is concurrency-safe.
size_type capacity() const;
Return Value
The maximum size to which the concurrent bector can grow without having to allocate more memory.
Remarks
Unlike an STL vector, a concurrent_vector object does not move existing elements if it allocates more memory.
Requirements
Header: concurrent_vector.h
Namespace: Concurrency