共用方式為


array::copy_to Method

Copies the contents of the array to another array.

void copy_to(
   array<_Value_type, _Rank>& _Dest
) const ;

void copy_to(
   array_view<_Value_type, _Rank>& _Dest
) const ;

Parameters

Remarks

A call to copy(*this, dest) is used to make the copy.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

array Class