Chris@16: Chris@16: #ifndef BOOST_MPL_AUX_UNWRAP_HPP_INCLUDED Chris@16: #define BOOST_MPL_AUX_UNWRAP_HPP_INCLUDED Chris@16: Chris@16: // Copyright Peter Dimov and Multi Media Ltd 2001, 2002 Chris@16: // Copyright David Abrahams 2001 Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: // See http://www.boost.org/libs/mpl for documentation. Chris@16: Chris@101: // $Id$ Chris@101: // $Date$ Chris@101: // $Revision$ Chris@16: Chris@16: #include Chris@101: #include Chris@16: Chris@16: namespace boost { namespace mpl { namespace aux { Chris@16: Chris@16: template< typename F > Chris@101: BOOST_MPL_CFG_GPU_ENABLED Chris@16: inline Chris@16: F& unwrap(F& f, long) Chris@16: { Chris@16: return f; Chris@16: } Chris@16: Chris@16: template< typename F > Chris@101: BOOST_MPL_CFG_GPU_ENABLED Chris@16: inline Chris@16: F& Chris@16: unwrap(reference_wrapper& f, int) Chris@16: { Chris@16: return f; Chris@16: } Chris@16: Chris@16: template< typename F > Chris@101: BOOST_MPL_CFG_GPU_ENABLED Chris@16: inline Chris@16: F& Chris@16: unwrap(reference_wrapper const& f, int) Chris@16: { Chris@16: return f; Chris@16: } Chris@16: Chris@16: }}} Chris@16: Chris@16: #endif // BOOST_MPL_AUX_UNWRAP_HPP_INCLUDED