operator=
Description
Overloads the operator function to assign the elements in the initialization list to an SVector object.
Definition
1 2 | SVector &operator=(std::initializer_list<T> list) SVector& &operator=(const SVector &other) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
list |
Input |
Assigns an element in the initialization list to an SVector. |
other |
Input |
Uses one container to assign a value to another container. |
Returns
Type |
Input/Output |
Description |
|---|---|---|
SVector& |
Output |
Returns the reference to a container. |
Parent topic: SVector