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

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;

== Synopsis

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

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


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