25 #ifndef UQ_SCOPED_PTR_H
26 #define UQ_SCOPED_PTR_H
28 #include <queso/config_queso.h>
30 #ifdef QUESO_HAVE_CXX11_UNIQUE_PTR
32 #elif QUESO_HAVE_BOOST_SCOPED_PTR_HPP
33 #include <boost/scoped_ptr.hpp>
34 #elif QUESO_HAVE_CXX_AUTO_PTR
72 #ifdef QUESO_HAVE_CXX11_UNIQUE_PTR
76 typedef std::unique_ptr<T>
Type;
78 #elif QUESO_HAVE_BOOST_SCOPED_PTR_HPP
82 typedef boost::scoped_ptr<T>
Type;
84 #elif QUESO_HAVE_CXX_AUTO_PTR
88 typedef std::auto_ptr<T>
Type;
91 # error "No valid definition for ScopedPtr found!"
96 #endif // UQ_SCOPED_PTR_H
std::unique_ptr< T > Type
boost::scoped_ptr< T > Type