Bitcoin Core 31.99.0
P2P Digital Currency
Public Member Functions | List of all members
std::hash< CTransactionRef > Struct Reference

Disable default std::hash for CTransactionRef to prevent accidentally comparing by pointer. More...

#include <transaction.h>

Public Member Functions

 hash ()=delete
 
size_t operator() (const CTransactionRef &) const =delete
 

Detailed Description

Disable default std::hash for CTransactionRef to prevent accidentally comparing by pointer.

Use CTransactionRefHash or provide a custom hasher.

Definition at line 411 of file transaction.h.

Constructor & Destructor Documentation

◆ hash()

std::hash< CTransactionRef >::hash ( )
delete

Member Function Documentation

◆ operator()()

size_t std::hash< CTransactionRef >::operator() ( const CTransactionRef ) const
delete

The documentation for this struct was generated from the following file: