Share via


concurrent_vector::push_back Method

Appends the given item to the end of the concurrent vector. This method is concurrency-safe.

iterator push_back(
   const_reference _Item
);

iterator push_back(
   _Ty &&_Item
);

Parameters

  • _Item
    The value to be appended.

Return Value

An iterator to item appended.

Requirements

Header: concurrent_vector.h

Namespace: concurrency

See Also

Reference

concurrent_vector Class