itertools::make_vector_from_range

#include <itertools.hpp>

Synopsis

template<typename R>
auto make_vector_from_range (R const & rg)

Template parameters

  • R Range type.

Parameters

  • rg Range.

Returns

std::vector<T> containing the elements of the range, where T denotes the value type of the range.