void operator=( const T& value ) const; | (1) | |
void operator=( const std::valarray<T>& val_arr ) const; | (2) | |
const slice_array& operator=( const slice_array& sl_arr) const; | (3) | (since C++11) |
Assigns values to all referred elements.
value
to all of the elements.val_arr
to the referred to elements of *this
.sl_arr
to the referred to elements of *this
.value | - | a value to assign to all of the referred elements |
val_arr | - | std::valarray to assign |
sl_arr | - | std::slice_array to assign |
*this
(none).
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/numeric/valarray/slice_array/operator=