[#BloombergLP-balxml-Formatter_State-2constructor-07]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter_State.adoc[Formatter&lowbar;State]::Formatter&lowbar;State
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;balxml&lowbar;formatter&period;h&gt;`

Create a `Formatter&lowbar;State` with a `compact` selection having the default value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/Formatter_State/2constructor-08.adoc[Formatter&lowbar;State]();
----

[.small]#xref:BloombergLP/balxml/Formatter_State/2constructor-08.adoc[_» more&period;&period;&period;_]#

Create a `Formatter&lowbar;State` with default&hyphen;constructed state&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/balxml/Formatter_State/2constructor-0b.adoc[Formatter&lowbar;State](xref:BloombergLP/balxml/Formatter_State/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

[.small]#xref:BloombergLP/balxml/Formatter_State/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Create a `Formatter&lowbar;State` object having the same value as the specified `original` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/Formatter_State/2constructor-0d.adoc[Formatter&lowbar;State](
    xref:BloombergLP/balxml/Formatter_State.adoc[Formatter&lowbar;State] const& original,
    xref:BloombergLP/balxml/Formatter_State/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----

[.small]#xref:BloombergLP/balxml/Formatter_State/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| memory allocator used to supply memory
| *original*
| object providing the value to copy
|===


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