Template Function vector_to_iter_pair

Function Documentation

template<typename Args>
auto vector_to_iter_pair(const std::vector<Args> &vec)

A helper functions that creates a pair of begin and end iterators from a vector.

Template Parameters:

Args – The type of elements in the vector

Parameters:

vec[in] A vector

Returns:

A pair of begin and end of the vector.