[#BloombergLP-balcl-OccurrenceInfo-2constructor-036] = 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 of the specified `type` and has no default value. 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"] ---- OccurrenceInfo( xref:BloombergLP/balcl/OccurrenceInfo/OccurrenceType-09.adoc[OccurrenceType] type, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#