SVector

Description

SVector constructor.

Definition

1
2
3
4
constexpr SVector()
SVector(std::initializer_list<T> list)
SVector(std::size_t size, const T &value = 0)
SVector(const SVector<T> &other)

Parameters

Member

Input/Output

Description

list

Input

SVector to be initialized as a list.

size

Input

Size during SVector initialization.

value

Input

Value during SVector initialization. The default value is 0.

other

Input

Uses the existing SVector value to assign a value to the current SVector.

Restrictions

If the default construction is not used, the passed list length or size must be less than the value of DEFAULT_SVECTOR_SIZE. Otherwise, a length overflow exception will be thrown.