Boost logo

Boost Users :

Subject: Re: [Boost-users] [phoenix] passing values
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2012-06-23 05:58:19


On Thursday, June 14, 2012 08:39:07 Karsten Ahnert wrote:
> Hi,
>
> I figured out that argument deduction in phoenix only works with
> references, so the following will not compile:
>
> std::cout << arg1( 1.0 ) << std::endl;
>
> Are there any alternatives to use use phoenix directly with values?

Hi, sorry for the late reply ... Phoenix V3 directly supports this.

> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net