concurrent_vector::grow_by Method

Grows this concurrent vector by _Delta elements. This method is concurrency-safe.

iterator grow_by(
   size_type _Delta
);

iterator grow_by(
   size_type _Delta,
   const_reference _Item
);

_Delta

The number of elements to append to the object.

_Item

The value to initialize the new elements with.

An iterator to first item appended.

If _Item is not specified, the new elements are default constructed.

Header: concurrent_vector.h

Namespace: concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft