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

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

#include <pointer.h>

Public Member Functions

 scope_free (T *p)
 
 ~scope_free ()
 
void disable_free ()
 

Detailed Description

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

Frees the pointer of type T allocated by 'malloc' when this instance goes out of scope.

Template Parameters
T

Constructor & Destructor Documentation

◆ scope_free()

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

◆ ~scope_free()

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

Member Function Documentation

◆ disable_free()

template<typename T >
void sf::scope_free< T >::disable_free ( )
inline

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