JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::ScopedAutoReleasePool Class Reference

A handy C++ wrapper that creates and deletes an NSAutoreleasePool object using RAII. More...

#include <juce_Memory.h>

Collaboration diagram for juce::ScopedAutoReleasePool:

Public Member Functions

 ScopedAutoReleasePool ()
 
 ~ScopedAutoReleasePool ()
 

Private Attributes

void * pool
 

Detailed Description

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}

Constructor & Destructor Documentation

◆ ScopedAutoReleasePool()

juce::ScopedAutoReleasePool::ScopedAutoReleasePool ( )

◆ ~ScopedAutoReleasePool()

juce::ScopedAutoReleasePool::~ScopedAutoReleasePool ( )

Member Data Documentation

◆ pool

void* juce::ScopedAutoReleasePool::pool
private

The documentation for this class was generated from the following file: