diff options
Diffstat (limited to 'boost/fusion/container/generation/make_vector.hpp')
-rw-r--r-- | boost/fusion/container/generation/make_vector.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/boost/fusion/container/generation/make_vector.hpp b/boost/fusion/container/generation/make_vector.hpp index 4911f4bfd5..57cd9b1003 100644 --- a/boost/fusion/container/generation/make_vector.hpp +++ b/boost/fusion/container/generation/make_vector.hpp @@ -56,7 +56,8 @@ namespace boost { namespace fusion }; } - BOOST_FUSION_GPU_ENABLED inline vector0<> + BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED + inline vector0<> make_vector() { return vector0<>(); @@ -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 BOOST_PP_CAT(vector, N)<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)> - make_vector(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& _)) + make_vector(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& arg)) { return BOOST_PP_CAT(vector, N)<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>( - BOOST_PP_ENUM_PARAMS(N, _)); + BOOST_PP_ENUM_PARAMS(N, arg)); } #undef N |