to_vector overloads

Synopses

Declared in <llvm/ADT/SmallVector.h>

Copy the elements of Range into a SmallVector with default inline size.

template<typename R>
SmallVector<ValueTypeFromRangeType<R>>
to_vector(R&& Range);

Copy the elements of Range into a SmallVector with default inline size.

template<typename R>
SmallVector<ValueTypeFromRangeType<R>>
to_vector(R&& Range);

Copy the elements of a range into a SmallVector with inline size Size.

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

Copy the elements of a range into a SmallVector with inline size Size.

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

Return Value

  • SmallVector containing the elements of Range.

  • SmallVector with inline size Size containing the elements of Range.

Parameters

Name

Description

Range

Range whose elements are copied.

Created with MrDocs