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

Assignment operators

== Synopses

Declared in `&lt;kernel&sol;mempool&lowbar;entry&period;h&gt;`

Copy assignment is deleted&period;


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

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

Copy assignment is disabled&colon; a TxGraph entry can have at most one Ref pointing to it&period;


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

[.small]#xref:TxGraph/Ref/operator_assign-06.adoc[_» more&period;&period;&period;_]#

Move assignment is deleted&period;


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

[.small]#xref:CTxMemPoolEntry/operator_assign-02d.adoc[_» more&period;&period;&period;_]#

Move assignment is disabled&semi; a moved&hyphen;from Ref would leave two Refs for one entry&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:TxGraph/Ref.adoc[Ref]&
xref:TxGraph/Ref/operator_assign-00.adoc[operator&equals;](xref:TxGraph/Ref.adoc[Ref]&& other) noexcept = delete;
----

[.small]#xref:TxGraph/Ref/operator_assign-00.adoc[_» more&period;&period;&period;_]#

== Return Value

A reference to this entry&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The entry that would be assigned from&period;
|===


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