template <class ValueMap, class Body>
struct multi_let_c
{
// unspecified
};
The same as multi_let
, but Body
is an angle-bracket expression and not a syntax.
#include <mpllibs/metamonad/multi_let_c.hpp>
For any m
and b
classes
multi_let_c<m, b>::type
is equivalent to
multi_let<m, syntax<b>>::type
using boost::mpl::times;
using boost::mpl::plus;
using boost::mpl::int_;
using boost::mpl::map;
using namespace mpllibs::metamonad::name;
template <class N>
struct my_metafunction :
eval_syntax<multi_let_c<map<pair<x, plus<n, int_<13>>>>, times<x, x>>>
{};
Copyright Abel Sinkovics (abel at elte dot hu) 2011. 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