CppCommon  1.0.4.1
C++ Common Library
Namespaces | Functions
resource.h File Reference

Resource smart cleaner pattern definition. More...

#include <memory>

Go to the source code of this file.

Namespaces

 CppCommon
 C++ Common project definitions.
 

Functions

template<typename T , typename TCleaner >
auto CppCommon::resource (T handle, TCleaner cleaner)
 Resource smart cleaner pattern. More...
 
template<typename TCleaner >
auto CppCommon::resource (void *handle, TCleaner cleaner)
 Resource smart cleaner pattern (void* specialization) More...
 
template<typename TCleaner >
auto CppCommon::resource (TCleaner cleaner)
 Resource smart cleaner pattern for empty resource handle. More...
 

Detailed Description

Resource smart cleaner pattern definition.

Author
Ivan Shynkarenka
Date
01.10.2016

Definition in file resource.h.