mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 17:17:23 +02:00
Fix fusion::make_list return type.
This commit is contained in:
@ -27,16 +27,16 @@ namespace boost { namespace fusion
|
||||
template <typename ...T>
|
||||
struct make_list
|
||||
{
|
||||
typedef list<T...> type;
|
||||
typedef list<typename detail::as_fusion_element<T>::type...> type;
|
||||
};
|
||||
}
|
||||
|
||||
template <typename ...T>
|
||||
BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||
inline list<typename detail::as_fusion_element<T>::type...>
|
||||
inline typename result_of::make_list<T...>::type
|
||||
make_list(T const&... arg)
|
||||
{
|
||||
return list<typename detail::as_fusion_element<T>::type...>(arg...);
|
||||
return typename result_of::make_list<T...>::type(arg...);
|
||||
}
|
||||
}}
|
||||
|
||||
|
Reference in New Issue
Block a user