libjmmcg
build_2783
A C++ library containing an eclectic mix of useful, advanced components.
|
A trivial class to use global free() to deallocate the memory using an RAII-style wrapper. More...
#include <deleter.hpp>
Public Types | |
typedef T | element_type |
Public Member Functions | |
constexpr | free_ptr () noexcept(true) |
constexpr | free_ptr (element_type p) noexcept(true) |
free_ptr (free_ptr const &)=delete | |
~free_ptr () noexcept(true) | |
Public Attributes | |
const element_type | ptr |
A trivial class to use global free() to deallocate the memory using an RAII-style wrapper.
Definition at line 50 of file deleter.hpp.
typedef T jmmcg::free_ptr< T >::element_type |
Definition at line 68 of file deleter.hpp.
|
inlineconstexprnoexcept |
Definition at line 72 of file deleter.hpp.
|
inlineexplicitconstexprnoexcept |
Definition at line 75 of file deleter.hpp.
|
delete |
|
inlinenoexcept |
Definition at line 79 of file deleter.hpp.
const element_type jmmcg::free_ptr< T >::ptr |
Definition at line 70 of file deleter.hpp.