
On Mon, Apr 5, 2010 at 10:58 PM, Eric Niebler <eric@boostpro.com> wrote:
On 4/5/2010 6:05 PM, Daniel Walker wrote:
On Mon, Apr 5, 2010 at 6:39 PM, Eric Niebler<eric@boostpro.com> wrote:
https://svn.boost.org/trac/boost/ticket/4072
A patch is attached to the ticket. I've confirmed that it un-breaks proto on msvc-10, but have not tested it further.
Good catch. Seems reasonable to me. In general, if some vendor releases an inadequate std:result_of or decltype, it would be good to have boost::result_of as a functional fallback, which is yet another reason to resolve the lambda/result_of issue. Enabling lambda to support boost::result_of's signature protocol, as in ticket 864, would do the trick. That way msvc-10 users would be able to enjoy lambda/result_of compatibility, even if msvc-10 still has some wrinkles.
Daniel,
I don't necessarily disagree, but I'm not really interested in getting this small issue mixed up with the larger issue of lambda/result_of compatibility. I just want result_of to work on msvc-10.
Of course. I agree. One step at a time. If decltype doesn't work in msvc-10, then result_of shouldn't use decltype on msvc-10. Your patch looks fine to me. Daniel Walker