Re: [Boost-users] Boost.Lambda, boost::lambda::detail::return_type_deduction_failure?

30 Dec
2008
30 Dec
'08
12:09 a.m.
I have managed to fix this by using ret<>() to specify the type that I want my lambda function to return. Now I have: for_each(vect.begin(), vect.end(), var(str) += ret<string>(_1+constant(", ")) ); And it compiles and works fine.
5898
Age (days ago)
5898
Last active (days ago)
0 comments
1 participants
participants (1)
-
stefys