|
ui-utilcpp
1.8.3
|
Control freeing of memory via std::free. More...
#include <Misc.hpp>


Public Member Functions | |
| auto_free (P *const p) | |
| Control this memory allocated via std::*alloc. | |
| ~auto_free () | |
| Free memory via std::free. | |
Public Member Functions inherited from UI::Util::auto_base< P > | |
| auto_base (P *const p=0) | |
| Construct from any pointer (may be 0). | |
| void | set (P *const p) |
| Set controlled pointer (must not be 0). | |
| P * | get () const |
| Get underlying pointer. | |
| P * | operator-> () const |
| Smart dereferencing. | |
Additional Inherited Members | |
Protected Attributes inherited from UI::Util::auto_base< P > | |
| P * | p_ |
| Controlled pointer. | |
Control freeing of memory via std::free.
1.8.9.1