Export (0) Print
Expand All

concurrent_vector::capacity Method

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;

The maximum size to which the concurrent bector can grow without having to allocate more memory.

Unlike an STL vector, a concurrent_vector object does not move existing elements if it allocates more memory.

Header: concurrent_vector.h

Namespace: Concurrency

Community Additions

ADD
Show:
© 2014 Microsoft