diff options
Diffstat (limited to 'boost/fusion/container/generation/make_cons.hpp')
-rw-r--r-- | boost/fusion/container/generation/make_cons.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/boost/fusion/container/generation/make_cons.hpp b/boost/fusion/container/generation/make_cons.hpp index dcb606dc9d..bb844ea38c 100644 --- a/boost/fusion/container/generation/make_cons.hpp +++ b/boost/fusion/container/generation/make_cons.hpp @@ -8,16 +8,17 @@ #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> namespace boost { namespace fusion { - struct nil; + struct nil_; namespace result_of { - template <typename Car, typename Cdr = nil> + template <typename Car, typename Cdr = nil_> struct make_cons { typedef cons<typename detail::as_fusion_element<Car>::type, Cdr> type; @@ -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) { |