[#CBlockIndex-operator_assign-03]
= xref:CBlockIndex.adoc[CBlockIndex]::operator&equals;
:relfileprefix: ../
:mrdocs:

Assignment operators

== Synopses

Declared in `&lt;chain&period;h&gt;`

Copy assignment is deleted to avoid accidental copies of block index entries&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CBlockIndex.adoc[CBlockIndex]&
xref:CBlockIndex/operator_assign-09.adoc[operator&equals;](xref:CBlockIndex.adoc[CBlockIndex] const& other) = delete;
----

[.small]#xref:CBlockIndex/operator_assign-09.adoc[_» more&period;&period;&period;_]#

Move assignment is deleted to avoid accidental copies of block index entries&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CBlockIndex.adoc[CBlockIndex]&
xref:CBlockIndex/operator_assign-0b.adoc[operator&equals;](xref:CBlockIndex.adoc[CBlockIndex]&& other) = delete;
----

[.small]#xref:CBlockIndex/operator_assign-0b.adoc[_» more&period;&period;&period;_]#


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