concurrent_vector::grow_to_at_least Method

Grows this concurrent vector until it has at least _N elements. This method is concurrency-safe.

iterator grow_to_at_least(
   size_type _N


  • _N
    The new minimum size for the concurrent_vector object.

Return Value

An iterator that points to beginning of appended sequence, or to the element at index _N if no elements were appended.


Header: concurrent_vector.h

Namespace: concurrency

See Also


concurrent_vector Class