Skip to content

num::append

Defined in header <core/types.hpp>

template <class T, class Alloc, class... Args>
T &append(array<T, Alloc> &values, Args &&...args);

Add an element at the end of an array, constructed from args. It is emplace_back, named for what the caller does, and returns a reference to the new element.