Boost Users :
From: Ryan Lovelett (ryan.lovelett_at_[hidden])
Date: 2008-06-25 16:57:13
On Wed, Jun 25, 2008 at 3:55 PM, Ryan Lovelett <ryan.lovelett_at_[hidden]>
> On Tue, Jun 24, 2008 at 8:04 PM, Steven Watanabe <watanabesj_at_[hidden]>
>> Ryan Lovelett wrote:
>>> I've been trying to track down what the maximum number of arguments that
>>> can be added to boost::function<> is. I'm starting to believe that the
>>> maximum number is 10 arguments. As it seems that when I input 11 arguments
>>> VS complains with this error:
>> That sounds right. You can increase the limit by
>> #define BOOST_FUNCTION_MAX_ARGS 20
>> #include <boost/function.hpp>
>> The absolute limit without modifying
>> is 50 arguments.
>> In Christ,
>> Steven Watanabe
>> Boost-users mailing list
> Steve, thanks so much for that trick! It worked like a charm.
> Ryan Lovelett
> (352) 286-8637
So now I've hit the next logical error in this that, I believe is a related
issue. boost::bind() only allows for 10 arguments, so I assume I'm going to
either have to specify a processor that allows bind to take 20 arguments.
Or am going to have to extend bind to allow it to take more? Any help
pointing me in the right direction would be greatly appreciated.
-- Ryan Lovelett Ryan.Lovelett_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net