File indexing completed on 2025-01-18 09:41:39
0001
0002 #ifndef BOOST_MPL_AUX_UNWRAP_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_UNWRAP_HPP_INCLUDED
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include <boost/ref.hpp>
0019 #include <boost/mpl/aux_/config/gpu.hpp>
0020
0021 namespace boost { namespace mpl { namespace aux {
0022
0023 template< typename F >
0024 BOOST_MPL_CFG_GPU_ENABLED
0025 inline
0026 F& unwrap(F& f, long)
0027 {
0028 return f;
0029 }
0030
0031 template< typename F >
0032 BOOST_MPL_CFG_GPU_ENABLED
0033 inline
0034 F&
0035 unwrap(reference_wrapper<F>& f, int)
0036 {
0037 return f;
0038 }
0039
0040 template< typename F >
0041 BOOST_MPL_CFG_GPU_ENABLED
0042 inline
0043 F&
0044 unwrap(reference_wrapper<F> const& f, int)
0045 {
0046 return f;
0047 }
0048
0049 }}}
0050
0051 #endif