Construct an optional OccurrenceInfo with the specified default value.

Synopsis

Declared in <balcl_occurrenceinfo.h>

explicit
OccurrenceInfo(
    char defaultValue,
    bslma::Allocator* basicAllocator = 0);

Description

Construct an OccurrenceInfo object that describes a command‐line option that is not required or hidden, and that has the specified defaultValue. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

defaultValue

default value for the described option

basicAllocator

memory allocator; null uses the default

Created with MrDocs