/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2005 Eric Niebler 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(FUSION_MAKE_CONS_07172005_0918) #define FUSION_MAKE_CONS_07172005_0918 #include #include #include namespace boost { namespace fusion { struct nil_; namespace result_of { template struct make_cons { typedef cons::type, Cdr> type; }; } template BOOST_FUSION_GPU_ENABLED inline cons::type> make_cons(Car const& car) { return cons::type>(car); } template BOOST_FUSION_GPU_ENABLED inline cons::type, Cdr> make_cons(Car const& car, Cdr const& cdr) { return cons::type, Cdr>(car, cdr); } }} #endif