Create a vector object.

Synopsis

Declared in <bslstl_vector.h>

template<class t_RANGE>
vector(
    std::from_range_t unused,
    t_RANGE&& range,
    ALLOCATOR const& basicAllocator = ALLOCATOR());

Parameters

Name

Description

basicAllocator

allocator used to supply memory

unused

tag selecting the from‐range constructor overload

range

input range of elements

Created with MrDocs