Re: [Boost-users] Making boost.bind take more arguments

I need Boost.Bind to take up to 12 arguments (right now it only goes up to 10). How?
(before you criticize me for "too many arguments", this is in auto-generated code. So shush ;) )
If it really has to be Boost.Bind you'd have to hack the source. If you can use Boost.Phoenix.Bind there is a define (PHOENIX_COMPOSITE_LIMIT) you can set to control the number of available arguments.

That works, thanks. On 06/25/10 17:20, Pete Bartlett wrote:
I need Boost.Bind to take up to 12 arguments (right now it only goes up to 10). How?
(before you criticize me for "too many arguments", this is in auto-generated code. So shush ;) )
If it really has to be Boost.Bind you'd have to hack the source. If you can use Boost.Phoenix.Bind there is a define (PHOENIX_COMPOSITE_LIMIT) you can set to control the number of available arguments.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Regards, -Clark
participants (2)
-
Clark Gaebel
-
Pete Bartlett