fixing stuff
[dyninst.git] / dynutil / h / dyn_detail / boost / type_traits / remove_pointer.hpp
1
2 //  (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
3 //  Use, modification and distribution are subject to the Boost Software License,
4 //  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 //  http://www.boost.org/LICENSE_1_0.txt).
6 //
7 //  See http://www.boost.org/libs/type_traits for most recent version including documentation.
8
9 #ifndef DYN_DETAIL_BOOST_TT_REMOVE_POINTER_HPP_INCLUDED
10 #define DYN_DETAIL_BOOST_TT_REMOVE_POINTER_HPP_INCLUDED
11
12 #include <dyn_detail/boost/type_traits/broken_compiler_spec.hpp>
13 #include <dyn_detail/boost/config.hpp>
14 #include <dyn_detail/boost/detail/workaround.hpp>
15
16 #if DYN_DETAIL_BOOST_WORKAROUND(DYN_DETAIL_BOOST_MSVC,<=1300)
17 #include <dyn_detail/boost/type_traits/msvc/remove_pointer.hpp>
18 #endif
19
20 // should be the last #include
21 #include <dyn_detail/boost/type_traits/detail/type_trait_def.hpp>
22
23 namespace dyn_detail {
24 namespace boost {
25
26 #ifndef DYN_DETAIL_BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
27
28 DYN_DETAIL_BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_pointer,T,T)
29 DYN_DETAIL_BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T*,T)
30 DYN_DETAIL_BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* const,T)
31 DYN_DETAIL_BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* volatile,T)
32 DYN_DETAIL_BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* const volatile,T)
33
34 #elif !DYN_DETAIL_BOOST_WORKAROUND(DYN_DETAIL_BOOST_MSVC,<=1300)
35
36 DYN_DETAIL_BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_pointer,T,typename dyn_detail::boost::detail::remove_pointer_impl<T>::type)
37
38 #endif
39
40 } // namespace boost
41 } // namespace dyn_detail
42
43 #include <dyn_detail/boost/type_traits/detail/type_trait_undef.hpp>
44
45 #endif // DYN_DETAIL_BOOST_TT_REMOVE_POINTER_HPP_INCLUDED