JUCE
|
A handy C++ wrapper that creates and deletes an NSAutoreleasePool object using RAII. More...
Public Member Functions | |
ScopedAutoReleasePool () | |
~ScopedAutoReleasePool () | |
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.
ScopedAutoReleasePool::ScopedAutoReleasePool | ( | ) |
ScopedAutoReleasePool::~ScopedAutoReleasePool | ( | ) |