Subject: Re: [boost] Boost 1_58_0_b1_rc2 is available for testing
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-17 18:24:20
On 03/14/2015 03:51 PM, Peter Dimov wrote:
> An example that doesn't use boost::bind is:
> int main()
> boost::function<void(int, int, int)> f2( &a );
> This, too, worked before the change and doesn't now.
One of these has to fail:
I don't think there's any strong reason
to support one over the other, so it's
probably best to allow f1, since it used
to be supported before rvalue references.
The attached patch should work. I've
tested it with msvc 9-12 and gcc 4.8
c++03 and c++11. If no one objects,
I'll commit this to develop.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk