From: firstname.lastname@example.org on behalf of Sohail Somani
Sent: Sat 1/20/2007 8:48 AM
To: email@example.com; firstname.lastname@example.org
Subject: Re: [Boost-users] [Fusion]fusion::traits::is_sequence<->mpl::is_sequence?
From: email@example.com on behalf of Joel de Guzman
That supports my quick theories. For Sohail, who's doing a non-intrusive
adaptation, he'll need to specialize the mpl::sequence_tag.
I think I'll stick with fusion::result_of for now ;)
I take that back! I do need some of the mpl algorithms. Anyway, while it may not seem that much (I'm a total metaprogramming noob), my progress is below. I can safely say that there haven't been too many frustrations, which surprises me. If I had the mpl book (/me shakes fist @ chapters.ca), I probably would have gotten through it faster. Now what I need is to use max_element on the argument position of all the placeholders and we're done!
template<int NumPlaceholders, typename BindExpression>
typedef typename boost::bind_arg_sequence<BindExpression>::type bind_arg_sequence;
typedef typename result_of::filter_if
BOOST_STATIC_ASSERT(( result_of::size<placeholders>::value == NumPlaceholders));