diff options
author | Chanho Park <chanho61.park@samsung.com> | 2014-12-11 18:55:56 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-12-11 18:55:56 +0900 |
commit | 08c1e93fa36a49f49325a07fe91ff92c964c2b6c (patch) | |
tree | 7a7053ceb8874b28ec4b868d4c49b500008a102e /boost/fusion/container/list/detail/at_impl.hpp | |
parent | bb4dd8289b351fae6b55e303f189127a394a1edd (diff) | |
download | boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.gz boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.tar.bz2 boost-08c1e93fa36a49f49325a07fe91ff92c964c2b6c.zip |
Imported Upstream version 1.57.0upstream/1.57.0
Diffstat (limited to 'boost/fusion/container/list/detail/at_impl.hpp')
-rw-r--r-- | boost/fusion/container/list/detail/at_impl.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boost/fusion/container/list/detail/at_impl.hpp b/boost/fusion/container/list/detail/at_impl.hpp index 757463928a..b7688522a3 100644 --- a/boost/fusion/container/list/detail/at_impl.hpp +++ b/boost/fusion/container/list/detail/at_impl.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_AT_IMPL_07172005_0726) #define FUSION_AT_IMPL_07172005_0726 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/detail/access.hpp> #include <boost/type_traits/is_const.hpp> #include <boost/type_traits/add_const.hpp> @@ -106,6 +107,7 @@ namespace boost { namespace fusion type; template <typename Cons, int N2> + BOOST_FUSION_GPU_ENABLED static type call(Cons& s, mpl::int_<N2>) { @@ -113,12 +115,14 @@ namespace boost { namespace fusion } template <typename Cons> + BOOST_FUSION_GPU_ENABLED static type call(Cons& s, mpl::int_<0>) { return s.car; } + BOOST_FUSION_GPU_ENABLED static type call(Sequence& s) { |