Export (0) Print
Expand All

array::operator= Operator

Copies the contents of the specified array object.

array & operator= (
   const array & _Other
) restrict(cpu);

array & operator= (
   array && _Other
) restrict(cpu);

array& operator=(
   const array_view<const _Value_type, _Rank>& _Src
) restrict(cpu);

_Other

The array object to copy from.

_Src

The array object to copy from.

A reference to this array object.

Name

Description

array & operator= ( const array & _Other ) restrict(cpu);

Copies the contents of the specified array object into this one, using a deep copy.

array & operator= ( array && Other ) restrict(cpu);

Copies the contents of the specified array object into this one, using a move assignment.

array& operator=( const array_view<const _Value_type, _Rank>& Src ) restrict(cpu);

Copies the array object into an array_view object.

Header: amp.h

Namespace: Concurrency

Show:
© 2015 Microsoft