Assignment operators

Synopses

Declared in <kernel/mempool_entry.h>

Copy assignment is deleted.

CTxMemPoolEntry&
operator=(CTxMemPoolEntry const& other) = delete;

Copy assignment is disabled: a TxGraph entry can have at most one Ref pointing to it.

Ref&
operator=(Ref const& other) = delete;

Move assignment is deleted.

Move assignment is disabled; a moved‐from Ref would leave two Refs for one entry.

Ref&
operator=(Ref&& other) noexcept = delete;

Return Value

A reference to this entry.

Parameters

Name

Description

other

The entry that would be assigned from.

Created with MrDocs