A memory allocation marker. More...
#include <class_marker.h>
Public Member Functions | |
marker_ct (char const *label, alloc_filter_ct const &filter, bool make_invisible=false) | |
Construct a marker with label label . More... | |
marker_ct (char const *label) | |
Construct a marker with label label . | |
marker_ct (alloc_filter_ct const &filter, bool make_invisible=false) | |
Construct a marker with label "An allocation marker". More... | |
marker_ct () | |
Construct a marker with label "An allocation marker". | |
~marker_ct () | |
Destructor. | |
A memory allocation marker.
|
inline |
Construct a marker with label label
.
The filter must exist until the marker is deleted; it is used by the destructor of the marker. Allocations that are hidden as a result of the filter will be placed outside the marker. Allocations done after the creation of the marker which are not deleted when the marker gets destructed and which are not hidden by the filter will be listed.
If make_invisible is set true then all filtered allocations will be made invisible at the destruction of the marker.
|
inline |
Construct a marker with label "An allocation marker".
The filter must exist until the marker is deleted; it is used by the destructor of the marker. Allocations that are hidden as a result of the filter will be placed outside the marker. Allocations done after the creation of the marker which are not deleted when the marker gets destructed and which are not hidden by the filter will be listed.
If make_invisible is set true then all filtered allocations will be made invisible at the destruction of the marker.