[#BloombergLP-balxml-NamespaceRegistry-operator_assign] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]::operator= :relfileprefix: ../../../ :mrdocs: Discard the contents of this registry and assign it the contents of the specified `rhs` registry. For a given URI, the results of calling `lookup` by URI will produce equal results for this object and for `rhs`. For a given integer ID, the result of calling `lookup` by ID will produce different pointers that compare equal using `strcmp`. == Synopsis Declared in `<balxml_namespaceregistry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry]& operator=(xref:BloombergLP/balxml/NamespaceRegistry.adoc[NamespaceRegistry] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#