diff --git a/include/boost/fusion/container/generation/make_list.hpp b/include/boost/fusion/container/generation/make_list.hpp index 13eba30d..e88f553a 100644 --- a/include/boost/fusion/container/generation/make_list.hpp +++ b/include/boost/fusion/container/generation/make_list.hpp @@ -27,16 +27,16 @@ namespace boost { namespace fusion template struct make_list { - typedef list type; + typedef list::type...> type; }; } template BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED - inline list::type...> + inline typename result_of::make_list::type make_list(T const&... arg) { - return list::type...>(arg...); + return typename result_of::make_list::type(arg...); } }}