27 #ifndef SBUILD_TR1TYPES_H 28 # define SBUILD_TR1TYPES_H 30 # include <sbuild/sbuild-config.h> 32 # ifdef HAVE_MEMORY_SHARED_PTR 34 # elif HAVE_TR1_MEMORY 35 # include <tr1/memory> 37 using std::tr1::shared_ptr;
38 using std::tr1::weak_ptr;
39 using std::tr1::static_pointer_cast;
40 using std::tr1::const_pointer_cast;
41 using std::tr1::dynamic_pointer_cast;
43 # elif HAVE_BOOST_SHARED_PTR_HPP 44 # include <boost/shared_ptr.hpp> 46 using boost::shared_ptr;
47 using boost::weak_ptr;
48 using boost::static_pointer_cast;
49 using boost::const_pointer_cast;
50 using boost::dynamic_pointer_cast;
53 # error A shared_ptr implementation is not available 64 # elif HAVE_BOOST_TUPLE_TUPLE_HPP 65 # include <boost/tuple/tuple.hpp> 71 # error A tuple implementation is not available