On Tue, Jun 24, 2008 at 8:04 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG


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 boost/function/detail/maybe_include.hpp
is 50 arguments.

In Christ,
Steven Watanabe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users

Steve, thanks so much for that trick!  It worked like a charm.

--

Ryan Lovelett
Ryan.Lovelett@gmail.com
(352) 286-8637