
20 Aug
2004
20 Aug
'04
10:19 a.m.
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