[#BloombergLP-balxml-NamespaceRegistry-operator_assign]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Discard the contents of this registry and assign it the contents of the specified `rhs` registry&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]&
operator&equals;(xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry] const& rhs);
----

== Description

For a given URI, the results of calling `lookup` by URI will produce equal results for this object and for `rhs`&period; For a given integer ID, the result of calling `lookup` by ID will produce different pointers that compare equal using `strcmp`&period;

== Return Value

a reference to this modifiable object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| registry to assign from
|===


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