[#TxGraph-Ref-2constructor-0a] = xref:TxGraph.adoc[TxGraph]::xref:TxGraph/Ref.adoc[Ref]::Ref :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<txgraph.h>` Construct an empty Ref. It can be initialized through TxGraph::AddTransaction. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:TxGraph/Ref/2constructor-06.adoc[Ref]() noexcept = default; ---- [.small]#xref:TxGraph/Ref/2constructor-06.adoc[_» more..._]# Copy construction is disabled: a TxGraph entry can have at most one Ref pointing to it. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:TxGraph/Ref/2constructor-00.adoc[Ref](xref:TxGraph/Ref.adoc[Ref] const& other) = delete; ---- [.small]#xref:TxGraph/Ref/2constructor-00.adoc[_» more..._]# Move‐construct a Ref, transferring ownership of the referenced transaction. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:TxGraph/Ref/2constructor-07.adoc[Ref](xref:TxGraph/Ref.adoc[Ref]&& other) noexcept; ---- [.small]#xref:TxGraph/Ref/2constructor-07.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The Ref being copied from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#