Add Activ libs & includes
This commit is contained in:
1 parent
f72e9053b0
commit
28ed30c944
10967 files changed
+2306716
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/*=============================================================================
|
||||
Copyright (c) 2001-2011 Joel de Guzman
|
||||
Copyright (c) 2007 Dan Marsden
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
==============================================================================*/
|
||||
#if !defined(ACTIV_BOOST_FUSION_ALL_05052005_1238)
|
||||
#define ACTIV_BOOST_FUSION_ALL_05052005_1238
|
||||
|
||||
#include <ActivBoost/fusion/support/config.hpp>
|
||||
#include <ActivBoost/fusion/support/category_of.hpp>
|
||||
#include <ActivBoost/fusion/algorithm/query/detail/all.hpp>
|
||||
|
||||
namespace Boost { namespace fusion
|
||||
{
|
||||
namespace result_of
|
||||
{
|
||||
template <typename Sequence, typename F>
|
||||
struct all
|
||||
{
|
||||
typedef bool type;
|
||||
};
|
||||
}
|
||||
|
||||
template <typename Sequence, typename F>
|
||||
ACTIV_BOOST_CONSTEXPR ACTIV_BOOST_FUSION_GPU_ENABLED
|
||||
inline bool
|
||||
all(Sequence const& seq, F f)
|
||||
{
|
||||
return detail::all(seq, f, typename traits::category_of<Sequence>::type());
|
||||
}
|
||||
}}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user