[#BloombergLP-balxml-PrefixStack-2constructor-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/PrefixStack.adoc[PrefixStack]::PrefixStack
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Create a registry object having the same value as the specified `original` object&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/PrefixStack/2constructor-03.adoc[PrefixStack](
    xref:BloombergLP/balxml/PrefixStack.adoc[PrefixStack] const& original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

Create an empty registry&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is 0, the currently installed default allocator is used&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/PrefixStack/2constructor-0e.adoc[PrefixStack](
    xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]* namespaceRegistry,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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


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