Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/mpl/aux_/unwrap.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
9 // (See accompanying file LICENSE_1_0.txt or copy at | 9 // (See accompanying file LICENSE_1_0.txt or copy at |
10 // http://www.boost.org/LICENSE_1_0.txt) | 10 // http://www.boost.org/LICENSE_1_0.txt) |
11 // | 11 // |
12 // See http://www.boost.org/libs/mpl for documentation. | 12 // See http://www.boost.org/libs/mpl for documentation. |
13 | 13 |
14 // $Id: unwrap.hpp 49267 2008-10-11 06:19:02Z agurtovoy $ | 14 // $Id$ |
15 // $Date: 2008-10-10 23:19:02 -0700 (Fri, 10 Oct 2008) $ | 15 // $Date$ |
16 // $Revision: 49267 $ | 16 // $Revision$ |
17 | 17 |
18 #include <boost/ref.hpp> | 18 #include <boost/ref.hpp> |
19 #include <boost/mpl/aux_/config/gpu.hpp> | |
19 | 20 |
20 namespace boost { namespace mpl { namespace aux { | 21 namespace boost { namespace mpl { namespace aux { |
21 | 22 |
22 template< typename F > | 23 template< typename F > |
24 BOOST_MPL_CFG_GPU_ENABLED | |
23 inline | 25 inline |
24 F& unwrap(F& f, long) | 26 F& unwrap(F& f, long) |
25 { | 27 { |
26 return f; | 28 return f; |
27 } | 29 } |
28 | 30 |
29 template< typename F > | 31 template< typename F > |
32 BOOST_MPL_CFG_GPU_ENABLED | |
30 inline | 33 inline |
31 F& | 34 F& |
32 unwrap(reference_wrapper<F>& f, int) | 35 unwrap(reference_wrapper<F>& f, int) |
33 { | 36 { |
34 return f; | 37 return f; |
35 } | 38 } |
36 | 39 |
37 template< typename F > | 40 template< typename F > |
41 BOOST_MPL_CFG_GPU_ENABLED | |
38 inline | 42 inline |
39 F& | 43 F& |
40 unwrap(reference_wrapper<F> const& f, int) | 44 unwrap(reference_wrapper<F> const& f, int) |
41 { | 45 { |
42 return f; | 46 return f; |