staticlib_support  1.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Classes | Namespaces | Functions
release_deleter.hpp File Reference
#include <atomic>
#include <memory>

Go to the source code of this file.

Classes

class  staticlib::support::release_deleter< T, Deleter >
 Deleter implementation for std::shared_ptr that allows to release the owned object from shared_ptr More...

Namespaces

namespace  staticlib
namespace  staticlib::support

Functions

template<typename T >
std::shared_ptr< T > staticlib::support::make_shared_with_release_deleter (T *ptr)
template<typename T >
std::unique_ptr< T > staticlib::support::make_unique_from_shared_with_release_deleter (std::shared_ptr< T > ptr)