C++ Reference: class SVector

This documentation is automatically generated.

Method
capacity

Return type: int

clear

Return type: void

clear_and_dealloc

Return type: void

data

Return type: T*

grow

Return type: void

Arguments: const T& left = T(), const T& right = T()

NOTE(user): This doesn't currently support movable-only objects, but we could fix that.

max_size

Return type: int

reserve

Return type: void

Arguments: int n

resize

Return type: void

Arguments: int n

size

Return type: int

SVector

~SVector

SVector

Arguments: const SVector& other

Copy constructor and assignment operator.

SVector

Arguments: SVector&& other

Move constructor and move assignment operator.

swap

Return type: void

Arguments: SVector<T>& x