JUCE  v6.1.6 (6.0.8-1114)
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.

@tags{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: