Boost logo

Boost :

Subject: Re: [boost] De Bruijn Bind (alternate bind syntax) Interest?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2010-09-04 10:55:13

On 09/04/10 08:24, Larry Evans wrote:
> The attached illustrates the difficulty I was having with
> mpl::apply. Maybe the apply_apply typedef would be a good
> use-case for De Bruijn's method.
Attached is much simplified code that still illustrates problem.
Compile errors included:

apply_apply.cpp:39: instantiated from here
    error: 'boost::mpl::apply<boost::mpl::next<mpl_::arg<1> >,
mpl_::arg<1> >
    ::apply' names 'boost::mpl::apply<
        boost::mpl::next<mpl_::arg<1> >, mpl_::arg<1>
>', which is not a class template
apply_apply.cpp:33: error: 'type' in class 'boost::mpl::apply<
        boost::mpl::apply<boost::mpl::next<mpl_::arg<1> >, mpl_::arg<1> >
      , mpl_::int_<1>
>' does not name a type
make: ***

Boost list run by bdawes at, gregod at, cpdaniel at, john at