ΒΆtemplate <unsigned int Size, typename R>
SmallVector<ValueTypeFromRangeType<R>, Size>
to_vector(R&& Range)

Description

Given a range of type R, iterate the entire range and return a SmallVector with elements of the vector. This is useful, for example, when you want to iterate a range and then sort the results.

Declared at: llvm/include/llvm/ADT/SmallVector.h:1281

Templates

unsigned int Size
R

Parameters

R&& Range