SPH
Public Member Functions | List of all members
SafePtr< T > Class Template Reference

#include <SafePtr.h>

Inheritance diagram for SafePtr< T >:
AutoPtr< T >

Public Member Functions

INLINE T & operator* () const
 
INLINE T * operator-> () const
 
template<typename... TArgs>
decltype(auto) INLINE operator() (TArgs &&... args) const
 
- Public Member Functions inherited from AutoPtr< T >
INLINE AutoPtr ()
 
INLINE AutoPtr (std::nullptr_t)
 
INLINE AutoPtr (T *ptr)
 
INLINE AutoPtr (const AutoPtr &other)=delete
 
template<typename T2 >
INLINE AutoPtr (AutoPtr< T2 > &&other)
 
 ~AutoPtr ()
 
INLINE AutoPtroperator= (const AutoPtr &other)=delete
 
template<typename T2 >
INLINE AutoPtroperator= (AutoPtr< T2 > &&other)
 
INLINE AutoPtroperator= (std::nullptr_t)
 
INLINE T & operator* () const
 
INLINE T * operator-> () const
 
INLINE RawPtr< T > get () const
 
INLINE operator bool () const
 
INLINE bool operator! () const
 
template<typename... TArgs>
decltype(auto) INLINE operator() (TArgs &&... args) const
 
INLINE void reset ()
 
INLINE T * release ()
 
INLINE void swap (AutoPtr &other)
 

Detailed Description

template<typename T>
class SafePtr< T >

Definition at line 20 of file SafePtr.h.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename... TArgs>
decltype(auto) INLINE SafePtr< T >::operator() ( TArgs &&...  args) const
inline

Definition at line 37 of file SafePtr.h.

◆ operator*()

template<typename T >
INLINE T& SafePtr< T >::operator* ( ) const
inline

Definition at line 22 of file SafePtr.h.

◆ operator->()

template<typename T >
INLINE T* SafePtr< T >::operator-> ( ) const
inline

Definition at line 29 of file SafePtr.h.


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