append()

Data / Array Functions

Description

Expands a std::vector by one element and adds value to the end.

Syntax

std::vector append(std::vector arr, T val)

Parameters

NameTypeDescription
arrstd::vectorthe vector to expand
valTthe value to add

Returns

std::vector

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...