[#std-hash-038]
= xref:std.adoc[std]::hash&lt;xref:CTransactionRef.adoc[CTransactionRef]&gt;
:relfileprefix: ../
:mrdocs:

Disable default std&colon;&colon;hash for CTransactionRef to prevent accidentally comparing by pointer&period; Use CTransactionRefHash or provide a custom hasher&period;

== Synopsis

Declared in `&lt;primitives&sol;transaction&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct hash&lt;xref:CTransactionRef.adoc[CTransactionRef]&gt;;
----

== 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&period;
| xref:std/hash-038/operator_call.adoc[`operator()`]  [.small]#[deleted]#
| Deleted call operator, disabling hashing of a CTransactionRef&period;
|===



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