result_of limit bumped to 16, merge [71769] from trunk

[SVN r80358]
This commit is contained in:
Eric Niebler 2012-09-02 03:29:41 +00:00
parent a89b0101fc
commit 1f23425baa
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
#include <boost/utility/declval.hpp>
#ifndef BOOST_RESULT_OF_NUM_ARGS
# define BOOST_RESULT_OF_NUM_ARGS 10
# define BOOST_RESULT_OF_NUM_ARGS 16
#endif
// Use the decltype-based version of result_of by default if the compiler

View File

@ -155,7 +155,7 @@ void f() {
the type <code>F</code> to be a function pointer,
function reference, member function pointer, or class
type. By default, <em>N</em> may be any value between 0 and
10. To change the upper limit, define the macro
16. To change the upper limit, define the macro
<code>BOOST_RESULT_OF_NUM_ARGS</code> to the maximum
value for <em>N</em>. Class template <code>result_of</code>
resides in the header <code>&lt;<a