sl@0: // Copyright David Abrahams 2002. sl@0: // Distributed under the Boost Software License, Version 1.0. (See sl@0: // accompanying file LICENSE_1_0.txt or copy at sl@0: // http://www.boost.org/LICENSE_1_0.txt) sl@0: #ifndef POINTEE_DWA2002323_HPP sl@0: # define POINTEE_DWA2002323_HPP sl@0: sl@0: # include sl@0: sl@0: # include sl@0: # include sl@0: sl@0: namespace boost { namespace python { sl@0: sl@0: namespace detail sl@0: { sl@0: template sl@0: struct pointee_impl sl@0: { sl@0: template struct apply : remove_pointer {}; sl@0: }; sl@0: sl@0: template <> sl@0: struct pointee_impl sl@0: { sl@0: template struct apply sl@0: { sl@0: typedef typename T::element_type type; sl@0: }; sl@0: }; sl@0: } sl@0: sl@0: template sl@0: struct pointee sl@0: : detail::pointee_impl< sl@0: ::boost::is_pointer::value sl@0: >::template apply sl@0: { sl@0: }; sl@0: sl@0: }} // namespace boost::python::detail sl@0: sl@0: #endif // POINTEE_DWA2002323_HPP