9 #ifndef _STRUS_BASE_UNIQUE_PTR_HPP_INCLUDED
10 #define _STRUS_BASE_UNIQUE_PTR_HPP_INCLUDED
12 #if __cplusplus >= 201103L
17 class unique_ptr :
public std::unique_ptr<T>
24 #if BOOST_VERSION < 105800
25 #include <boost/interprocess/smart_ptr/unique_ptr.hpp>
26 #define BOOST_UNIQUE_PTR_TEMPLATE boost::movelib::unique_ptr
28 #include <boost/move/unique_ptr.hpp>
29 #define BOOST_UNIQUE_PTR_TEMPLATE boost::unique_ptr
Definition: unique_ptr.hpp:34
#define BOOST_UNIQUE_PTR_TEMPLATE
Definition of strus::unique_ptr as wrapper to std::unique_ptr or boost::unique_ptr depeding on availa...
Definition: unique_ptr.hpp:26
void operator()(U *ptr) const
Definition: unique_ptr.hpp:38
unique_ptr(T *p=0)
Definition: unique_ptr.hpp:46
void operator()(T *ptr) const
Definition: unique_ptr.hpp:36
Definition: unique_ptr.hpp:42