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 74 of file checkqueue_tests.cpp.

Constructor & Destructor Documentation

◆ MemoryCheck() [1/3]

MemoryCheck::MemoryCheck ( )
inline

Definition at line 81 of file checkqueue_tests.cpp.

◆ MemoryCheck() [2/3]

MemoryCheck::MemoryCheck ( const MemoryCheck x)
inline

Definition at line 82 of file checkqueue_tests.cpp.

◆ MemoryCheck() [3/3]

MemoryCheck::MemoryCheck ( bool  b_)
inline

Definition at line 90 of file checkqueue_tests.cpp.

◆ ~MemoryCheck()

MemoryCheck::~MemoryCheck ( )
inline

Definition at line 94 of file checkqueue_tests.cpp.

Member Function Documentation

◆ operator()()

bool MemoryCheck::operator() ( ) const
inline

Definition at line 77 of file checkqueue_tests.cpp.

◆ swap()

void MemoryCheck::swap ( MemoryCheck x)
inline

Definition at line 98 of file checkqueue_tests.cpp.

Member Data Documentation

◆ b

bool MemoryCheck::b {false}

Definition at line 76 of file checkqueue_tests.cpp.

◆ fake_allocated_memory

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

Definition at line 75 of file checkqueue_tests.cpp.


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