Boost logo

Boost Users :

Subject: [Boost-users] [phoenix] passing values
From: Karsten Ahnert (karsten.ahnert_at_[hidden])
Date: 2012-06-14 02:39:07


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?


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