array::operator std::vector<_Value_type> 运算符

使用 copy(*this, vector) 可通过隐式的方式将数组转换为 std::vector 对象。

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

参数

  • _Value_type
    矢量的元素数据类型。

返回值

包含数据(包含在数组中)副本的类型 vector<T> 的对象。

要求

**标头:**amp.h

命名空间: 并发

请参见

参考

array 类