Template Function lupnt::make_vector

Function Documentation

template<typename T>
std::vector<T> lupnt::make_vector(std::size_t size)

Helper function that returns a vector of given size and type.

Template Parameters:

T – The type of element

Parameters:

size – The size of the vector to return

Returns:

a vector of given size and type