Bitcoin Core  22.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MemoryCheck Struct Reference

Public Member Functions

bool operator() () const
 
 MemoryCheck ()
 
 MemoryCheck (const MemoryCheck &x)
 
 MemoryCheck (bool b_)
 
 ~MemoryCheck ()
 
void swap (MemoryCheck &x)
 

Public Attributes

bool b {false}
 

Static Public Attributes

static std::atomic< size_t > fake_allocated_memory {0}
 

Detailed Description

Definition at line 84 of file checkqueue_tests.cpp.

Constructor & Destructor Documentation

◆ MemoryCheck() [1/3]

MemoryCheck::MemoryCheck ( )
inline

Definition at line 91 of file checkqueue_tests.cpp.

◆ MemoryCheck() [2/3]

MemoryCheck::MemoryCheck ( const MemoryCheck x)
inline

Definition at line 92 of file checkqueue_tests.cpp.

◆ MemoryCheck() [3/3]

MemoryCheck::MemoryCheck ( bool  b_)
inline

Definition at line 100 of file checkqueue_tests.cpp.

◆ ~MemoryCheck()

MemoryCheck::~MemoryCheck ( )
inline

Definition at line 104 of file checkqueue_tests.cpp.

Member Function Documentation

◆ operator()()

bool MemoryCheck::operator() ( ) const
inline

Definition at line 87 of file checkqueue_tests.cpp.

◆ swap()

void MemoryCheck::swap ( MemoryCheck x)
inline

Definition at line 108 of file checkqueue_tests.cpp.

Member Data Documentation

◆ b

bool MemoryCheck::b {false}

Definition at line 86 of file checkqueue_tests.cpp.

◆ fake_allocated_memory

std::atomic< size_t > MemoryCheck::fake_allocated_memory {0}
static

Definition at line 85 of file checkqueue_tests.cpp.


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