|
Boost : |
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-09-08 15:49:02
On 8/27/07, Eric Niebler <eric_at_[hidden]> wrote:
>
> Eric Niebler wrote:
> > (Sorry for the delay, I've been away on vacation.)
Lol, now was I on vacation.
[snip]
> Oh, I just noticed from the subject line that you're looking at the
> calculator arity transform. There is an example that shows how to do the
> arity calculation using fold and vararg. Look for CalculatorGrammar here:
>
> http://svn.boost.org/trac/boost/browser/trunk/libs/xpressive/proto/example/calc3.cpp
>
> It is heavily commented, and shows a couple of different ways to tackle
> the problem.
It was *exactly* what I was looking for. Thanks.
>
> HTH,
>
> --
> Eric Niebler
> Boost Consulting
> www.boost-consulting.com
>
> The Astoria Seminar ==> http://www.astoriaseminar.com
Best regards,
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk