concurrent_vector::swap Method

Swaps the contents of two concurrent vectors. This method is not concurrency-safe.

void swap(
   concurrent_vector &_Vector
);

Parameters

  • _Vector
    The concurrent_vector object to swap contents with.

Requirements

Header: concurrent_vector.h

Namespace: Concurrency

See Also

Reference

concurrent_vector Class