[function] breaking change detection

Hi, boost::function<> template arity seems to be changed. Is there anyway to detect the change? e.g. BOOST_FUNCTION_HAS_NO_ALLOCATOR_PARAMETER My library is going to be reviewed 2 days later, but is partly broken by that change :-( Regards, -- Shunsuke Sogame

On Fri, Mar 28, 2008 at 9:05 AM, shunsuke <pstade.mb@gmail.com> wrote:
Hi,
boost::function<> template arity seems to be changed. Is there anyway to detect the change? e.g. BOOST_FUNCTION_HAS_NO_ALLOCATOR_PARAMETER
My library is going to be reviewed 2 days later, but is partly broken by that change :-(
Could you elaborate more? Isn't it possible to modify your library according to the current boost::function definition? I don't think there are plans to support the old behavior. -- Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode

Emil Dotchevski wrote:
boost::function<> template arity seems to be changed. Is there anyway to detect the change? e.g. BOOST_FUNCTION_HAS_NO_ALLOCATOR_PARAMETER
My library is going to be reviewed 2 days later, but is partly broken by that change :-(
Could you elaborate more? Isn't it possible to modify your library according to the current boost::function definition?
I was lost because BOOST_VERSION in both rc1.35 and trunk is 103500. Fortunately I've found BOOST_FUNCTION_DEFAULT_ALLOCATOR. :-) Sorry for the noise. Regards, -- Shunsuke Sogame
participants (2)
-
Emil Dotchevski
-
shunsuke