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:
[snip]
> 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.
[snip]
Attached is much simplified code that still illustrates problem.
Compile errors included:

>'
apply_apply.cpp:39: instantiated from here
/home/evansl/prog_dev/boost-svn/ro/boost_1_44_0/boost/mpl/aux_/preprocessed/gcc/apply_wrap.hpp:39:
    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: ***
[/home/evansl/prog_dev/boost-svn/ro/boost_1_44_0/sandbox-local/build/gcc4_4v/boost-svn/ro/boost_1_44_0/sand




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk