This class is used internally by the WeakReference class - don't use it directly in your code!
More...
#include <juce_WeakReference.h>
Inherits ReferenceCountingType.
template<class ObjectType, class ReferenceCountingType = ReferenceCountedObject>
class WeakReference< ObjectType, ReferenceCountingType >::SharedPointer
This class is used internally by the WeakReference class - don't use it directly in your code!
- See also
- WeakReference
◆ SharedPointer()
template<class ObjectType , class ReferenceCountingType = ReferenceCountedObject>
WeakReference< ObjectType, ReferenceCountingType >::SharedPointer::SharedPointer |
( |
ObjectType * | obj | ) |
|
|
explicitnoexcept |
◆ get()
template<class ObjectType , class ReferenceCountingType = ReferenceCountedObject>
ObjectType * WeakReference< ObjectType, ReferenceCountingType >::SharedPointer::get |
( |
| ) |
const |
|
noexcept |
◆ clearPointer()
template<class ObjectType , class ReferenceCountingType = ReferenceCountedObject>
void WeakReference< ObjectType, ReferenceCountingType >::SharedPointer::clearPointer |
( |
| ) |
|
|
noexcept |
The documentation for this class was generated from the following file: