
14 Jun
2012
14 Jun
'12
6:39 a.m.
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?

23 Jun
23 Jun
9:58 a.m.
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
4682
Age (days ago)
4691
Last active (days ago)
1 comments
2 participants
participants (2)
-
Karsten Ahnert
-
Thomas Heller