diff options
Diffstat (limited to 'boost/fusion/algorithm/query/detail/count.hpp')
-rw-r--r-- | boost/fusion/algorithm/query/detail/count.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/boost/fusion/algorithm/query/detail/count.hpp b/boost/fusion/algorithm/query/detail/count.hpp index ffc6086a0c..5e046f6b5d 100644 --- a/boost/fusion/algorithm/query/detail/count.hpp +++ b/boost/fusion/algorithm/query/detail/count.hpp @@ -7,6 +7,7 @@ #if !defined(FUSION_COUNT_09162005_0158) #define FUSION_COUNT_09162005_0158 +#include <boost/fusion/support/config.hpp> #include <boost/config.hpp> #include <boost/mpl/or.hpp> #include <boost/type_traits/is_convertible.hpp> @@ -27,6 +28,7 @@ namespace boost { namespace fusion { namespace detail struct compare_convertible<true> { template <typename T1, typename T2> + BOOST_FUSION_GPU_ENABLED static bool call(T1 const& x, T2 const& y) { @@ -39,6 +41,7 @@ namespace boost { namespace fusion { namespace detail struct compare_convertible<false> { template <typename T1, typename T2> + BOOST_FUSION_GPU_ENABLED static bool call(T1 const&, T2 const&) { @@ -50,10 +53,12 @@ namespace boost { namespace fusion { namespace detail struct count_compare { typedef typename detail::call_param<T1>::type param; + BOOST_FUSION_GPU_ENABLED count_compare(param in_x) : x(in_x) {} template <typename T2> + BOOST_FUSION_GPU_ENABLED bool operator()(T2 const& y) { |