Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2004-08-20 05:19:19


Daniel Wallin writes:
> I think there's a mismatch in the use of
> BOOST_MPL_METAFUNCTION_MAX_ARITY.
>
> mpl::bind<> and aux::template_arity<> both make use of the
> BOOST_MPL_METAFUNCTION_MAX_ARITY when generating code. However, bind<>
> has an additional leading argument which increases it's arity by one.
> This means template_arity<> will return the wrong arity.

Daniel,

This is already fixed in the new version of the library which I hope
to integrate into the main trunk today.

Thank you for the report,

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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