ircproxy The Ultimate Cyborg |
#include <debug.h>
Creation of the object does nothing, you have to explicitly call InvisibleAllocations::on. Destruction of the object automatically cancels any call to on
of this object. This makes it exception- (stack unwinding) and recursive-safe.
Definition at line 123 of file debug.h.
Public Member Functions | |
InvisibleAllocations () | |
Constructor. | |
~InvisibleAllocations () | |
Destructor. | |
void | on (void) |
Set invisible allocations on. Can be called recursively. | |
void | off (void) |
Cancel one call to on(). | |
Public Attributes | |
int | M_on |
debug::InvisibleAllocations::InvisibleAllocations | ( | ) | [inline] |
debug::InvisibleAllocations::~InvisibleAllocations | ( | ) | [inline] |
void debug::InvisibleAllocations::on | ( | void | ) | [inline] |
void debug::InvisibleAllocations::off | ( | void | ) | [inline] |
The number of times that InvisibleAllocations::on() was called.
Definition at line 124 of file debug.h.
Referenced by off(), on(), and ~InvisibleAllocations().
Copyright © 2005-2007 Carlo Wood. All rights reserved. |
---|