
24 Nov
2009
24 Nov
'09
3:30 a.m.
On Mon, Nov 23, 2009 at 6:40 PM, Peter Foelsche <peter_foelsche@agilent.com> wrote:
"Peter Foelsche" <peter_foelsche@agilent.com> wrote in message news:hef6ot$dnj$1@ger.gmane.org...
see attached. Is there no simpler way? I especially dislike having to know the type of the argument. And I would need to write one class for every math function.
You might look at Boost.Phoenix2 (in the Boost.Spirit section), it can do what you want (it can do everything Lambda can and more).