Classes | |
class | juce::LeakedObjectDetector< OwnerClass > |
Embedding an instance of this class inside another class can be used as a low-overhead way of detecting leaked instances. More... | |
class | juce::LeakedObjectDetector< OwnerClass >::LeakCounter |
Namespaces | |
juce | |
Macros | |
#define | JUCE_LEAK_DETECTOR(OwnerClass) |
This macro lets you embed a leak-detecting object inside a class. More... | |
#define JUCE_LEAK_DETECTOR | ( | OwnerClass | ) |
This macro lets you embed a leak-detecting object inside a class.
To use it, simply declare a JUCE_LEAK_DETECTOR(YourClassName) inside a private section of the class declaration. E.g.