summaryrefslogtreecommitdiff
path: root/boost/fusion/container/generation/make_list.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/container/generation/make_list.hpp')
-rw-r--r--boost/fusion/container/generation/make_list.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/boost/fusion/container/generation/make_list.hpp b/boost/fusion/container/generation/make_list.hpp
index d1f9ea5..8cfc7e6 100644
--- a/boost/fusion/container/generation/make_list.hpp
+++ b/boost/fusion/container/generation/make_list.hpp
@@ -56,7 +56,8 @@ namespace boost { namespace fusion
};
}
- BOOST_FUSION_GPU_ENABLED inline list<>
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
+ inline list<>
make_list()
{
return list<>();
@@ -101,12 +102,12 @@ namespace boost { namespace fusion
}
template <BOOST_PP_ENUM_PARAMS(N, typename T)>
- BOOST_FUSION_GPU_ENABLED
+ BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
inline list<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>
- make_list(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& _))
+ make_list(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& arg))
{
return list<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>(
- BOOST_PP_ENUM_PARAMS(N, _));
+ BOOST_PP_ENUM_PARAMS(N, arg));
}
#undef N