Create a command‐line‐option value object having the type and value of the specified value.

Synopsis

Declared in <balcl_optionvalue.h>

explicit
OptionValue(
    bool value,
    bslma::Allocator* basicAllocator = 0);

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

value

initial bool value

basicAllocator

memory allocator; null uses the default

Created with MrDocs