|
Boost : |
Subject: Re: [boost] Template metaprogramming libraries
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2011-09-16 06:30:40
On Friday, September 16, 2011 06:17:00 AM David Sankel wrote:
> On Fri, Sep 16, 2011 at 4:51 AM, Thomas Heller
>
> <thom.heller_at_[hidden]>wrote:
> > On Thursday, September 15, 2011 12:31:50 PM David Sankel wrote:
> <snip>
>
> > <rant>
>
> <snip>
>
> > It should be noted though that phoenix users can get around
> >
> > > this somewhat by using _identifier syntax.
> > > </rant>
> >
> > #include <boost/phoenix.hpp>
>
> <snip>
>
> auto flip = lambda(_a = _1)[bind(_a, _2, _1)];
>
>
> <snip>
>
> > Thanks for your unqualified rant, David.
>
> huh?
Is this not what you were saying wasn't possible with phoenix?
Having a De Brujin style syntax is perfectly possible in phoenix. It just
hasn't been done yet cause, as you saw in my example, can be expressed by
using phoenix local variables.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk