/*============================================================================= Copyright (c) 2005 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 namespace boost { namespace fusion { struct nil; namespace result_of { template struct make_cons { typedef cons::type, Cdr> type; }; } template inline cons::type> make_cons(Car const& car) { return cons::type>(car); } template inline cons::type, Cdr> make_cons(Car const& car, Cdr const& cdr) { return cons::type, Cdr>(car, cdr); } }} #endif