neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::scoped_pointer< T > Class Template Reference

#include <scoped.hpp>

Public Member Functions

 scoped_pointer (T *&aPointer, T *aValue)
 
 ~scoped_pointer ()
 
T constsaved () const
 
void ignore ()
 

Detailed Description

template<typename T>
class neolib::scoped_pointer< T >

Definition at line 86 of file scoped.hpp.

Constructor & Destructor Documentation

◆ scoped_pointer()

template<typename T >
neolib::scoped_pointer< T >::scoped_pointer ( T *&  aPointer,
T aValue 
)
inline

Definition at line 89 of file scoped.hpp.

◆ ~scoped_pointer()

template<typename T >
neolib::scoped_pointer< T >::~scoped_pointer ( )
inline

Definition at line 90 of file scoped.hpp.

Member Function Documentation

◆ ignore()

template<typename T >
void neolib::scoped_pointer< T >::ignore ( )
inline

Definition at line 93 of file scoped.hpp.

◆ saved()

template<typename T >
T const & neolib::scoped_pointer< T >::saved ( ) const
inline

Definition at line 92 of file scoped.hpp.


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