libjmmcg
release_579_6_g8cffd
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 32 of file deleter.hpp.
typedef T jmmcg::LIBJMMCG_VER_NAMESPACE::free_ptr< T >::element_type |
Definition at line 33 of file deleter.hpp.
|
inlineconstexprnoexcept |
Definition at line 37 of file deleter.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::free_ptr< T >::ptr.
|
inlineexplicitconstexprnoexcept |
Definition at line 40 of file deleter.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::free_ptr< T >::ptr.
|
delete |
|
inlinenoexcept |
Definition at line 44 of file deleter.hpp.
References jmmcg::LIBJMMCG_VER_NAMESPACE::free_ptr< T >::ptr.
const element_type jmmcg::LIBJMMCG_VER_NAMESPACE::free_ptr< T >::ptr |
Definition at line 35 of file deleter.hpp.
Referenced by jmmcg::LIBJMMCG_VER_NAMESPACE::free_ptr< T >::free_ptr(), and jmmcg::LIBJMMCG_VER_NAMESPACE::free_ptr< T >::~free_ptr().