forked from boostorg/fusion
gpu-enable functions
This commit is contained in:
committed by
Eric Niebler
parent
867c7e5dfb
commit
c4f9f0d1b6
@ -7,6 +7,7 @@
|
||||
#if !defined(FUSION_ADVANCE_09172005_1146)
|
||||
#define FUSION_ADVANCE_09172005_1146
|
||||
|
||||
#include <boost/fusion/support/config.hpp>
|
||||
#include <boost/fusion/iterator/detail/advance.hpp>
|
||||
#include <boost/fusion/support/category_of.hpp>
|
||||
|
||||
@ -74,6 +75,7 @@ namespace boost { namespace fusion
|
||||
}
|
||||
|
||||
template <int N, typename Iterator>
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline typename result_of::advance_c<Iterator, N>::type const
|
||||
advance_c(Iterator const& i)
|
||||
{
|
||||
@ -81,6 +83,7 @@ namespace boost { namespace fusion
|
||||
}
|
||||
|
||||
template<typename N, typename Iterator>
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline typename result_of::advance<Iterator, N>::type const
|
||||
advance(Iterator const& i)
|
||||
{
|
||||
|
Reference in New Issue
Block a user