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 size of elements in the SVector where an element is to be added must be less than the value of MAX_SVECTOR_SIZE. Otherwise, the API throws a length overflow exception.