push_back
Description
Inserts an element into a specified SVector.
Definition
1 | void push_back(const T &val) noexcept((!CHECK_BOUND) && std::is_nothrow_assignable<T, const T &>::value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
val |
Input |
Value of the element to be added to an SVector |
Restrictions
When the function is called, the value of the element to be added to the SVector must be less than MAX_SVECTOR_SIZE. Otherwise, the API throws a length overflow exception.
Parent topic: SVector