Hi all,
the following code
double abc=lambda(_a=*ref(it)++)[_a*2.0]()(); // here 'it' is an
//iterator
produces the error C2440: 'initializing' : cannot convert from
'boost::phoenix::detail::error_expecting_arguments' to 'double'
which should not be. The two lines of code
let(_a=*ref(it)++)[_a*2.0](); //or
lambda(_a=*ref(it)++)[_a*2.0*arg1]()( val);
compile fine.
Perhaps someone has an answer to this error?
( I use boost trunk version and msvc 2008)
To reproduce the errors just compile the code below.
Best regards
Kim Tang
# include <algorithm>
# include <vector>
# include