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;
42 using std::tr1::enable_shared_from_this;
44 # elif HAVE_BOOST_SHARED_PTR_HPP
45 # include <boost/shared_ptr.hpp>
47 using boost::shared_ptr;
48 using boost::weak_ptr;
49 using boost::static_pointer_cast;
50 using boost::const_pointer_cast;
51 using boost::dynamic_pointer_cast;
52 using boost::enable_shared_from_this;
55 # error A shared_ptr implementation is not available
66 # elif HAVE_BOOST_TUPLE_TUPLE_HPP
67 # include <boost/tuple/tuple.hpp>
73 # error A tuple implementation is not available