[#std-hash-038] = xref:std.adoc[std]::hash<xref:CTransactionRef.adoc[CTransactionRef]> :relfileprefix: ../ :mrdocs: Disable default std::hash for CTransactionRef to prevent accidentally comparing by pointer. Use CTransactionRefHash or provide a custom hasher. == Synopsis Declared in `<primitives/transaction.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<> struct hash<xref:CTransactionRef.adoc[CTransactionRef]>; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:std/hash-038/2constructor.adoc[`hash`] [.small]#[constructor]# [.small]#[deleted]# | Deleted default constructor, disabling this hash specialization. | xref:std/hash-038/operator_call.adoc[`operator()`] [.small]#[deleted]# | Deleted call operator, disabling hashing of a CTransactionRef. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#