Boost logo

Boost :

Subject: Re: [boost] [phoenix] Functions and function pointers
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2011-04-07 19:29:17


On Thu, Apr 7, 2011 at 4:15 PM, Lorenzo Caminiti <lorcaminiti_at_[hidden]>wrote:

> Hello all,
>
> How do I call functions and function pointers from within a
> Boost.Phoenix lambda function?
>
[...]

I think boost::phoenix::bind is your friend:

http://www.boost.org/doc/libs/1_46_1/libs/spirit/phoenix/doc/html/phoenix/composite.html#phoenix.composite.bind

- Jeff


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