forked from boostorg/fusion
gpu-enable functions
This commit is contained in:
committed by
Eric Niebler
parent
867c7e5dfb
commit
c4f9f0d1b6
@ -8,6 +8,7 @@
|
||||
#if !defined(FUSION_MAKE_CONS_07172005_0918)
|
||||
#define FUSION_MAKE_CONS_07172005_0918
|
||||
|
||||
#include <boost/fusion/support/config.hpp>
|
||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||
#include <boost/fusion/container/list/cons.hpp>
|
||||
|
||||
@ -25,6 +26,7 @@ namespace boost { namespace fusion
|
||||
}
|
||||
|
||||
template <typename Car>
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline cons<typename detail::as_fusion_element<Car>::type>
|
||||
make_cons(Car const& car)
|
||||
{
|
||||
@ -32,6 +34,7 @@ namespace boost { namespace fusion
|
||||
}
|
||||
|
||||
template <typename Car, typename Cdr>
|
||||
BOOST_FUSION_GPU_ENABLED
|
||||
inline cons<typename detail::as_fusion_element<Car>::type, Cdr>
|
||||
make_cons(Car const& car, Cdr const& cdr)
|
||||
{
|
||||
|
Reference in New Issue
Block a user