Boost logo

Boost :

Subject: Re: [boost] Boost 1_58_0_b1_rc2 is available for testing
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2015-03-17 18:52:11


[Steven Watanabe]
> So is it more important to match std::function
> or to avoid breaking existing code?

That's your call. Over in the Standard Library, I ruthlessly deliver conformance and breaking changes (especially at compile-time like this).

Note that this affects signatures like function<void (unique_ptr<int>)>, which work for std::function. In general, my motto is that INVOKE is scary, so I should do exactly what it says, so INVOKE gets all the blame if users are unhappy. (It's actually well-designed, just deeply scary.)

STL


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