mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 23:14:02 +00:00
result_of limit bumped to 16, merge [71769] from trunk
[SVN r80358]
This commit is contained in:
parent
a89b0101fc
commit
1f23425baa
@ -27,7 +27,7 @@
|
|||||||
#include <boost/utility/declval.hpp>
|
#include <boost/utility/declval.hpp>
|
||||||
|
|
||||||
#ifndef BOOST_RESULT_OF_NUM_ARGS
|
#ifndef BOOST_RESULT_OF_NUM_ARGS
|
||||||
# define BOOST_RESULT_OF_NUM_ARGS 10
|
# define BOOST_RESULT_OF_NUM_ARGS 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Use the decltype-based version of result_of by default if the compiler
|
// Use the decltype-based version of result_of by default if the compiler
|
||||||
|
@ -155,7 +155,7 @@ void f() {
|
|||||||
the type <code>F</code> to be a function pointer,
|
the type <code>F</code> to be a function pointer,
|
||||||
function reference, member function pointer, or class
|
function reference, member function pointer, or class
|
||||||
type. By default, <em>N</em> may be any value between 0 and
|
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
|
<code>BOOST_RESULT_OF_NUM_ARGS</code> to the maximum
|
||||||
value for <em>N</em>. Class template <code>result_of</code>
|
value for <em>N</em>. Class template <code>result_of</code>
|
||||||
resides in the header <code><<a
|
resides in the header <code><<a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user