A handy C++ wrapper that creates and deletes an NSAutoreleasePool object using RAII. More...
#include <juce_Memory.h>
Public Member Functions | |
ScopedAutoReleasePool () | |
~ScopedAutoReleasePool () | |
Private Attributes | |
void * | pool |
A handy C++ wrapper that creates and deletes an NSAutoreleasePool object using RAII.
You should use the JUCE_AUTORELEASEPOOL macro to create a local auto-release pool on the stack.
{Core}
juce::ScopedAutoReleasePool::ScopedAutoReleasePool | ( | ) |
juce::ScopedAutoReleasePool::~ScopedAutoReleasePool | ( | ) |
|
private |