forked from boostorg/fusion
gpu-enable more functions, but not stream inserters and extractors
This commit is contained in:
@@ -56,13 +56,17 @@ namespace boost { namespace fusion
|
||||
result_of::size<Sequence1>::value + result_of::size<Sequence2>::value>
|
||||
size;
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
joint_view(Sequence1& in_seq1, Sequence2& in_seq2)
|
||||
: seq1(in_seq1)
|
||||
, seq2(in_seq2)
|
||||
{}
|
||||
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
first_type first() const { return fusion::begin(seq1); }
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
concat_type concat() const { return fusion::begin(seq2); }
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
concat_last_type concat_last() const { return fusion::end(seq2); }
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user