Interface for concurrent_vector

The return type of methods grow_by and grow_to_at_least changed in Intel® Threading Building Blocks (Intel® TBB) 2.2. Compile with the preprocessor symbol TBB_DEPRECATED set to nonzero to get the old methods.

Change in Return Types

Method

Deprecated Return Type

New Return Type

grow_by See Concurrent Growth.

size_type

iterator

grow_to_at_least See Concurrent Growth.

void

iterator

push_back See Concurrent Growth.

size_type

iterator

The following table provides additional information on the members of this template class.
Member Description
void compact().

Same as shrink_to_fit() See Whole Vector Operations.

See Also