[#BloombergLP-balcl-OccurrenceInfo-2constructor-0d50]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OccurrenceInfo.adoc[OccurrenceInfo]::OccurrenceInfo
:relfileprefix: ../../../
:mrdocs:

Construct an optional, non&hyphen;hidden `OccurrenceInfo` with no default value&period;

== Synopsis

Declared in `&lt;balcl&lowbar;occurrenceinfo&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
OccurrenceInfo(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----

== Description

Construct an `OccurrenceInfo` object that describes a command&hyphen;line option that is optional but not hidden and has no default value, using the specified `basicAllocator` to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
