2 // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
3 // Permission to copy, use, modify, sell and distribute this software is
4 // granted provided this copyright notice appears in all copies. This software
5 // is provided "as is" without express or implied warranty, and with no claim
6 // as to its suitability for any purpose.
8 // See http://www.boost.org for most recent version including documentation.
10 #ifndef BOOST_TT_REMOVE_POINTER_HPP_INCLUDED
11 #define BOOST_TT_REMOVE_POINTER_HPP_INCLUDED
13 #include "boost/type_traits/broken_compiler_spec.hpp"
14 #include "boost/config.hpp"
16 // should be the last #include
17 #include "boost/type_traits/detail/type_trait_def.hpp"
21 #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
23 BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_pointer,T,T)
24 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T*,T)
25 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* const,T)
26 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* volatile,T)
27 BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* const volatile,T)
31 BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_pointer,T,typename detail::remove_pointer_impl<T>::type)
37 #include "boost/type_traits/detail/type_trait_undef.hpp"
39 #endif // BOOST_TT_REMOVE_POINTER_HPP_INCLUDED