Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-02-03 12:38:12


Beman Dawes wrote:
> 1.31.0 has been tagged (Version_1_31_0) for release.
>
> Release candidate 3 (.zip format only) is available at
> www.esva.net/~beman/boost_1_31_0_rc3.zip.
>
> Please report any problems right away. This will be the final release
> candidate unless a really major problem is discovered.

On [boost-users] we have a reported problem with boost::function and MSVC
7.1:

Cheenu Srinivasan wrote:
> The following program throws a bad_function_call exception when
> compiled with VisualStudio 7.1. It happens with both boost-1.30.2
> and boost_1_31_0_rc2. No problems when compiled with g++ 2.95.1
> on solaris.
>
> ----
> #include <boost/bind.hpp>
> #include <boost/function.hpp>
> using namespace boost;
> #include <iostream>
> using namespace std;
>
> double f(int i, double d) {
> cout << "int = " << i << endl;
> return d;
> }
>
> main() {
> boost::function<double (int)> bound_func = boost::bind(f, _1, 1.234);
> int i = 99;
> cout << bound_func(i) << endl;
> }

I don't know whether this should be considered a showstopper, but it's
troubling.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk