[#CTxMemPoolEntry-operator_assign-024] = xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]::operator= :relfileprefix: ../ :mrdocs: Assignment operators == Synopses Declared in `<kernel/mempool_entry.h>` Copy assignment is deleted. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]& xref:CTxMemPoolEntry/operator_assign-0a.adoc[operator=](xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry] const& other) = delete; ---- [.small]#xref:CTxMemPoolEntry/operator_assign-0a.adoc[_» more..._]# Copy assignment is disabled: a TxGraph entry can have at most one Ref pointing to it. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:TxGraph/Ref.adoc[Ref]& xref:TxGraph/Ref/operator_assign-06.adoc[operator=](xref:TxGraph/Ref.adoc[Ref] const& other) = delete; ---- [.small]#xref:TxGraph/Ref/operator_assign-06.adoc[_» more..._]# Move assignment is deleted. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]& xref:CTxMemPoolEntry/operator_assign-02d.adoc[operator=](xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]&& other) = delete; ---- [.small]#xref:CTxMemPoolEntry/operator_assign-02d.adoc[_» more..._]# Move assignment is disabled; a moved‐from Ref would leave two Refs for one entry. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:TxGraph/Ref.adoc[Ref]& xref:TxGraph/Ref/operator_assign-00.adoc[operator=](xref:TxGraph/Ref.adoc[Ref]&& other) noexcept = delete; ---- [.small]#xref:TxGraph/Ref/operator_assign-00.adoc[_» more..._]# == Return Value A reference to this entry. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The entry that would be assigned from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#