首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::slice_array

Defined in header <valarray>

?

?

template< class T > class slice_array;

?

?

std::slice_array是由std::slice下标运算符。对象指定的数组的子集具有引用语义。std::slice对象。

成员类型

Type

Definition

value_type

T

成员函数

(constructor)

constructs a slice_array (public member function)

(destructor)

destroys a slice_array (public member function)

operator=

assigns contents (public member function)

operator+=operator-=operator*=operator/=operator%=operator&=operator|=operator^=operator<<=operator>>=

performs arithmetic operation on the array referred by slice. (public member function)

另见

gslice_array

proxy to a subset of a valarray after applying a gslice (class template)

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com