Udostępnij za pośrednictwem


concurrent_vector::operator= Operator

Assigns the contents of another concurrent_vector object to this one. This method is not concurrency-safe.

concurrent_vector& operator=(
   const concurrent_vector& _Vector
);
template<
   class M
>
concurrent_vector& operator=(
   const concurrent_vector<_Ty,
   M>& _Vector
);

Parameters

  • M
    The allocator type of the source vector.

  • _Vector
    The source concurrent_vector object.

Return Value

A reference to this concurrent_vector object.

Requirements

Header: concurrent_vector.h

Namespace: Concurrency

See Also

Reference

concurrent_vector Class