// Copyright David Abrahams 2004. Distributed under the Boost // Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef UNWRAP_WRAPPER_DWA2004723_HPP # define UNWRAP_WRAPPER_DWA2004723_HPP # include # include # include # include namespace boost { namespace python { namespace detail { template struct unwrap_wrapper_helper { typedef typename T::_wrapper_wrapped_type_ type; }; template struct unwrap_wrapper_ : mpl::eval_if,unwrap_wrapper_helper,mpl::identity > {}; template typename unwrap_wrapper_::type* unwrap_wrapper(T*) { return 0; } }}} // namespace boost::python::detail #endif // UNWRAP_WRAPPER_DWA2004723_HPP