Create a disengaged Optional_Base using allocator.

Synopsis

Declared in <bslstl_optional.h>

Optional_Base(
    std::allocator_arg_t allocatorArg,
    AllocType allocator,
    bsl::nullopt_t nullopt);

Parameters

Name

Description

allocatorArg

tag selecting the allocator‐extended constructor

allocator

allocator used to supply memory

nullopt

disengaged‐optional tag; value is unused

Created with MrDocs