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.
6396
Age (days ago)
6396
Last active (days ago)
5 comments
2 participants
participants (2)
-
stefys