std::indirect_array<T>::operator=
提供: cppreference.com
< cpp | numeric | valarray | indirect array
void operator=( const T& value ) const; |
(1) | |
void operator=( const std::valarray<T>& val_arr ) const; |
(2) | |
const indirect_array& operator=( const indirect_array& sl_arr) const; |
(3) | (C++11以上) |
値を参照先のすべての要素に代入します。
1)
value
をすべての要素に代入します。2)
val_arr
の要素を *this の参照先の要素に代入します。3)
sl_arr
から選択された要素を *this の参照先の要素に代入します。目次 |
[編集] 引数
value | - | 参照先のすべての要素に代入する値 |
val_arr | - | 代入する std::valarray |
sl_arr | - | 代入する std::indirect_array |
[編集] 戻り値
1-2) (なし)
3) *this。
[編集] 例外
(なし)
[編集] 例
This section is incomplete Reason: no example |