diff DEPENDENCIES/generic/include/boost/fusion/view/nview/nview.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/fusion/view/nview/nview.hpp	Fri Sep 04 12:01:02 2015 +0100
+++ b/DEPENDENCIES/generic/include/boost/fusion/view/nview/nview.hpp	Mon Sep 07 11:12:49 2015 +0100
@@ -8,6 +8,7 @@
 #if !defined(BOOST_FUSION_NVIEW_SEP_23_2009_0948PM)
 #define BOOST_FUSION_NVIEW_SEP_23_2009_0948PM
 
+#include <boost/fusion/support/config.hpp>
 #include <boost/mpl/size.hpp>
 #include <boost/mpl/if.hpp>
 #include <boost/mpl/vector_c.hpp>
@@ -39,6 +40,7 @@
 
 #ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
             template <typename T>
+            BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
             typename add_reference<T>::type 
             operator()(T& x) const
             {
@@ -46,6 +48,7 @@
             }
 #else
             template <typename T>
+            BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
             typename result<addref(T)>::type
             operator()(T&& x) const
             {
@@ -65,6 +68,7 @@
             {};
 
             template <typename T>
+            BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
             typename add_reference<typename add_const<T>::type>::type 
             operator()(T& x) const
             {
@@ -72,6 +76,7 @@
             }
 
             template <typename T>
+            BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
             typename add_reference<typename add_const<T>::type>::type 
             operator()(T const& x) const
             {
@@ -103,6 +108,7 @@
         typedef typename result_of::as_vector<transform_view_type>::type 
             sequence_type;
 
+        BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
         explicit nview(Sequence& val)
           : seq(sequence_type(transform_view_type(val, transform_type()))) 
         {}