std::slice_array
STD:切片[医]列阵
Defined in header | | |
---|
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) |
---|
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
http://en.cppreference.com/w/cpp/数值/valArray/Slice[医]列阵