Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-24 20:04:31


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

#include <boost/function.hpp>

The absolute limit without modifying boost/function/detail/maybe_include.hpp
is 50 arguments.

In Christ,
Steven Watanabe

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at