
16 Mar
2010
16 Mar
'10
10:23 p.m.
On Tue, Mar 16, 2010 at 11:18 AM, Steven Watanabe
AMDG
Manjunath Kudlur wrote:
Try a1.template get<0>();
I tried this, and get the following error :
I already answered that. The problem is that Phoenix doesn't support perfect forwarding. I don't know of an easy solution.
Phoenix 2 is somewhat old now. If you feel up to it, work on Phoenix3 and add binders with using Boost.Functional.Forwarding and Boost.Fusion. That is about the closest to perfect forwarding that you can make something in C++. :)