kblib 0.2.3
General utilities library for modern C++
|
Provides utilities to enable safe and expressive memory management and low-level memory manipulation. More...
Go to the source code of this file.
Namespaces | |
namespace | kblib |
The main namespace in which all entities from kblib are defined. | |
namespace | kblib::detail_memory |
Typedefs | |
template<typename D , typename T > | |
using | kblib::detail_memory::filter_deleter_pointer_t = typename filter_deleter_pointer< D, T >::type |
Functions | |
template<typename T , typename Deleter > | |
auto | kblib::make_cond_ptr (std::unique_ptr< T, Deleter > &&arg) noexcept -> cond_ptr< T, Deleter > |
template<typename T > | |
auto | kblib::make_cond_ptr (T *arg, bool owner=false) noexcept -> cond_ptr< T > |
template<typename T , typename Deleter > | |
auto | kblib::make_cond_ptr (T *arg, Deleter del) noexcept -> cond_ptr< T, Deleter > |
template<typename T , typename Deleter > | |
auto | kblib::make_cond_ptr (T *arg, bool owner, Deleter del) noexcept -> cond_ptr< T, Deleter > |
Provides utilities to enable safe and expressive memory management and low-level memory manipulation.
Definition in file memory.h.