__debug_new_counter Class Reference

Back to the index.

Public Member Functions | List of all members
__debug_new_counter Class Reference

Part of Wu Yongwei's new/delete debug memory leak detector. More...

#include <debug_new.h>

Public Member Functions

 __debug_new_counter ()
 
 ~__debug_new_counter ()
 

Detailed Description

Part of Wu Yongwei's new/delete debug memory leak detector.

Counter class for on-exit leakage check.

Definition at line 145 of file debug_new.h.

Constructor & Destructor Documentation

◆ __debug_new_counter()

__debug_new_counter::__debug_new_counter ( )

Constructor to increment the count.

Definition at line 707 of file debug_new.cc.

◆ ~__debug_new_counter()

__debug_new_counter::~__debug_new_counter ( )

Destructor to decrement the count. When the count is zero, check_leaks will be called.

Definition at line 716 of file debug_new.cc.

References check_leaks(), new_autocheck_flag, new_output_fp, and new_verbose_flag.


The documentation for this class was generated from the following files:

Generated on Tue Mar 24 2020 14:04:48 for GXemul by doxygen 1.8.17