
Richard Crossley wrote:
Eric Niebler wrote:
(CC'ing Doug, who has the unfortunate distinction of having his name in result_of.hpp.)
Has anybody else noticed inexplicable compile failures with MSVC 7.1, and sometimes even MSVC 8.0, when using boost::result_of? <snip>
And for any enterprising soul who wants to look into this, I attached a repro to the bug at http://tinyurl.com/ymu63z. Seems like a pretty straightforward use of boost::result_of that fails to compile on vc7.1 and vc8.
I don't suppose it's the same problem as I was seeing here is it?
http://article.gmane.org/gmane.comp.lib.boost.user/14256
I ended up giving up with result_of assuming I must be misunderstanding something as I never got any response.
It appears to be the same issue. I added your much simpler test case to the bug report. Thanks. Sadly, giving up on result_of is not really an option -- it's standard, now. I hope we can find a work-around. -- Eric Niebler Boost Consulting www.boost-consulting.com