Compartir a través de


array::operator std::vector<_Value_type> Operator

Uses copy(*this, vector) to implicitly convert the array to a std::vector object.

operator std::vector<_Value_type>() const restrict(cpu);

Parameters

  • _Value_type
    The data type of the elements of the vector.

Return Value

An object of type vector<T> that contains a copy of the data that is contained in the array.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

array Class