Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00025 #ifndef SBUILD_TR1TYPES_H
00026 #define SBUILD_TR1TYPES_H
00027
00028 #include <sbuild/sbuild-config.h>
00029
00030 #ifdef HAVE_TR1_MEMORY
00031 #include <tr1/memory>
00032 #elif HAVE_BOOST_SHARED_PTR_HPP
00033 #include <boost/shared_ptr.hpp>
00034 namespace std {
00035 namespace tr1 {
00036 using boost::shared_ptr;
00037 using boost::static_pointer_cast;
00038 using boost::const_pointer_cast;
00039 using boost::dynamic_pointer_cast;
00040 }
00041 }
00042 #else
00043 #error A shared_ptr implementation is not available
00044 #endif
00045
00046 #ifdef HAVE_TR1_TUPLE
00047 #include <tr1/tuple>
00048 #elif HAVE_BOOST_TUPLE_TUPLE_HPP
00049 #include <boost/tuple/tuple.hpp>
00050 namespace std { namespace tr1 { using boost::tuple; using boost::get; } }
00051 #else
00052 #error A tuple implementation is not available
00053 #endif
00054
00055 #endif
00056
00057
00058
00059
00060
00061