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

Public Member Functions

std::optional< int > operator() () const
 
 MemoryCheck (const MemoryCheck &x)
 
 MemoryCheck (bool b_)
 
 ~MemoryCheck ()
 

Public Attributes

bool b {false}
 

Static Public Attributes

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

Detailed Description

Definition at line 81 of file checkqueue_tests.cpp.

Constructor & Destructor Documentation

◆ MemoryCheck() [1/2]

MemoryCheck::MemoryCheck ( const MemoryCheck x)
inline

Definition at line 88 of file checkqueue_tests.cpp.

◆ MemoryCheck() [2/2]

MemoryCheck::MemoryCheck ( bool  b_)
inline

Definition at line 96 of file checkqueue_tests.cpp.

◆ ~MemoryCheck()

MemoryCheck::~MemoryCheck ( )
inline

Definition at line 100 of file checkqueue_tests.cpp.

Member Function Documentation

◆ operator()()

std::optional< int > MemoryCheck::operator() ( ) const
inline

Definition at line 84 of file checkqueue_tests.cpp.

Member Data Documentation

◆ b

bool MemoryCheck::b {false}

Definition at line 83 of file checkqueue_tests.cpp.

◆ fake_allocated_memory

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

Definition at line 82 of file checkqueue_tests.cpp.


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