Classes | Functions
juce_ScopedPointer.h File Reference

Classes

class  ScopedPointer< ObjectType >
 This class holds a pointer which is automatically deleted when this object goes out of scope. More...
 

Functions

template<typename ObjectType1 , typename ObjectType2 >
bool operator== (ObjectType1 *pointer1, const ScopedPointer< ObjectType2 > &pointer2) noexcept
 Compares a ScopedPointer with another pointer. More...
 
template<typename ObjectType1 , typename ObjectType2 >
bool operator!= (ObjectType1 *pointer1, const ScopedPointer< ObjectType2 > &pointer2) noexcept
 Compares a ScopedPointer with another pointer. More...
 
template<typename ObjectType1 , typename ObjectType2 >
bool operator== (const ScopedPointer< ObjectType1 > &pointer1, ObjectType2 *pointer2) noexcept
 Compares a ScopedPointer with another pointer. More...
 
template<typename ObjectType1 , typename ObjectType2 >
bool operator!= (const ScopedPointer< ObjectType1 > &pointer1, ObjectType2 *pointer2) noexcept
 Compares a ScopedPointer with another pointer. More...
 
template<typename ObjectType1 , typename ObjectType2 >
bool operator== (const ScopedPointer< ObjectType1 > &pointer1, const ScopedPointer< ObjectType2 > &pointer2) noexcept
 Compares a ScopedPointer with another pointer. More...
 
template<typename ObjectType1 , typename ObjectType2 >
bool operator!= (const ScopedPointer< ObjectType1 > &pointer1, const ScopedPointer< ObjectType2 > &pointer2) noexcept
 Compares a ScopedPointer with another pointer. More...
 
template<class ObjectType >
bool operator== (decltype(nullptr), const ScopedPointer< ObjectType > &pointer) noexcept
 Compares a ScopedPointer with a nullptr. More...
 
template<class ObjectType >
bool operator!= (decltype(nullptr), const ScopedPointer< ObjectType > &pointer) noexcept
 Compares a ScopedPointer with a nullptr. More...
 
template<class ObjectType >
bool operator== (const ScopedPointer< ObjectType > &pointer, decltype(nullptr)) noexcept
 Compares a ScopedPointer with a nullptr. More...
 
template<class ObjectType >
bool operator!= (const ScopedPointer< ObjectType > &pointer, decltype(nullptr)) noexcept
 Compares a ScopedPointer with a nullptr. More...