Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::scope_delete< T > Class Template Reference

Deletes the pointer of type T allocated by 'new' when this instance goes out of scope. More...

#include <pointer.h>

Public Member Functions

 scope_delete (T *p)
 
 ~scope_delete ()
 
void disable_delete ()
 

Detailed Description

template<typename T>
class sf::scope_delete< T >

Deletes the pointer of type T allocated by 'new' when this instance goes out of scope.

Template Parameters
T

Constructor & Destructor Documentation

◆ scope_delete()

template<typename T >
sf::scope_delete< T >::scope_delete ( T *  p)
inlineexplicit

◆ ~scope_delete()

template<typename T >
sf::scope_delete< T >::~scope_delete ( )
inline

Member Function Documentation

◆ disable_delete()

template<typename T >
void sf::scope_delete< T >::disable_delete ( )
inline

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