Re: [Boost-users] return type of boost::bind
[Reposting under corect subject.] Peter Dimov wrote:
Cheenu Srinivasan wrote:
With MSVC 7.1. the exception is thrown with both 'bound_func = bind(...)' and 'bound_func(bind(...))'. But I tried it with g++/solaris and it works. So it does look like a bug with the MS compiler. Thanks.
It works for me in MSVC 7.1, but I'm using the CVS version of Boost. It may be a bug in 1.30.2 (if that's what you are using). You may download 1.31 release candidate 2 from
http://www.esva.net/~beman/boost_1_31_0_rc2.zip
to verify that the problem does not occur with the immininent 1.31 release.
I tried VisualStudio 7.1 with boost_1_31_0_rc2 with the same results: a bad_function_call exception. I tried it on two different PCs (same version of VisualStudio, of course). _________________________________________________________________ Let the new MSN Premium Internet Software make the most of your high-speed experience. http://join.msn.com/?pgmarket=en-us&page=byoa/prem&ST=1
participants (1)
-
Cheenu Srinivasan