diff options
Diffstat (limited to '3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp')
-rw-r--r-- | 3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp b/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp index 5e7e5ab..36c2c93 100644 --- a/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp +++ b/3rdParty/Boost/src/boost/fusion/view/single_view/single_view.hpp @@ -8,6 +8,7 @@ #if !defined(BOOST_FUSION_SINGLE_VIEW_05052005_0335) #define BOOST_FUSION_SINGLE_VIEW_05052005_0335 +#include <boost/fusion/support/config.hpp> #include <boost/fusion/support/detail/access.hpp> #include <boost/fusion/support/detail/as_fusion_element.hpp> #include <boost/fusion/support/sequence_base.hpp> @@ -42,16 +43,18 @@ namespace boost { namespace fusion typedef mpl::int_<1> size; typedef T value_type; + BOOST_FUSION_GPU_ENABLED single_view() : val() {} - explicit single_view(typename detail::call_param<T>::type in_val) + BOOST_FUSION_GPU_ENABLED explicit single_view(typename detail::call_param<T>::type in_val) : val(in_val) {} value_type val; }; template <typename T> + BOOST_FUSION_GPU_ENABLED inline single_view<typename detail::as_fusion_element<T>::type> make_single_view(T const& v) { |