Subject: Re: [boost] Case study: Boost.Local versus Boost.Phoenix
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-02-07 04:42:47
On 06/02/2011 16:29, Lorenzo Caminiti wrote:
> (*) A _possible_ issue with Alex-Steven syntax is that it does not
> separate the parameter types from the parameter names. I cannot
> program the preprocessor to retrieve type and name separately from
> `double num` -- while I can from `(double)(num)` or `double, num` --
> but I think I need the type to pass it as a template parameter to
> create the functor type `function<int (double)>`...
You can pass the name as well to function<int (double num)>.
But why do you need to reference function in the first place?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk