bsl::vector<VALUE>

Deduce the template parameter VALUE from the value_type of the initializer_list supplied to the constructor of vector. This deduction guide does not participate unless the supplied allocator is convertible to bsl::allocator<VALUE>.

Synopsis

Declared in <bslstl_vector.h>

template<
    class VALUE,
    class ALLOC,
    class DEFAULT_ALLOCATOR = bsl::allocator<VALUE>>
requires bsl::is_convertible_v<ALLOC *, DEFAULT_ALLOCATOR>
vector<VALUE>(
    std::initializer_list<VALUE>,
    ALLOC*) -> vector<VALUE>;