Documentation
|
|
Assignment operator. More...
| template<typename ty > | |
| array & | operator= (const ty value) |
| Scalar assignment. More... | |
| array & | operator= (const array &a) |
| Array assignment. More... | |
Assignment operator.
The assignment operator is used to assign values to an array.
| array& operator= | ( | const ty | value | ) |
Scalar assignment.
The scalar assignment operator assigns the value on the right hand side to all locations in the array on the left hand side.
| value | scalar value |
| array& operator= | ( | const array & | a | ) |
Array assignment.
The array assignment operator assigns the values in the array on the right hand side to the array on the left hand side.
| a | source array |