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

Constructors

== Synopses

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

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


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

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

Construct a copy of the specified `other` namespace registry using the (optionally) specified `basicAllocator`&period; For a given URI, the results of calling `lookup` by URI will produce equal results for this object and for `other`&period; For a given integer ID, the result of calling `lookup` by ID will produce different pointers that compare equal using `strcmp`&period;


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

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


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