Template Function lanelet::utils::concatenateRange(ContainerT&&, Func)

Function Documentation

template<typename ContainerT, typename Func>
auto lanelet::utils::concatenateRange(ContainerT &&c, Func f)

Similar to concatenate but expects Func to return a pair of begin and end of the range to concatenated.

Significantly more efficient than the above but requires that the range is already present in memory. A use case is a vector of vectors.