[#BloombergLP-balcl-OccurrenceInfo-2constructor-04f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo]::OccurrenceInfo :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<balcl_occurrenceinfo.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit OccurrenceInfo( char defaultValue, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#