bsl::vector<VALUE, ALLOCATOR>

Deduce the template parameter VALUE from the value_type of the iterators supplied to the constructor of vector. This deduction guide does not participate unless the supplied allocator meets the requirements of a standard allocator.

Synopsis

Declared in <bslstl_vector.h>

template<
    class INPUT_ITERATOR,
    class ALLOCATOR,
    class VALUE = BloombergLP::bslstl::IteratorUtil::IterVal_t<INPUT_ITERATOR>>
requires bsl::IsStdAllocator_v<ALLOCATOR>
vector<VALUE, ALLOCATOR>(
    INPUT_ITERATOR,
    INPUT_ITERATOR,
    ALLOCATOR) -> vector<VALUE, ALLOCATOR>;