mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
BOOST_NO_RESULT_OF support
[SVN r30040]
This commit is contained in:
parent
871f3a6779
commit
865c707756
@ -59,7 +59,7 @@ struct result_of : get_result_of<F, FArgs, (has_result_type<F>::value)> {};
|
|||||||
|
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
# error Your compiler cannot support class template result_of
|
# define BOOST_NO_RESULT_OF 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // BOOST_RESULT_OF_HPP
|
#endif // BOOST_RESULT_OF_HPP
|
||||||
|
@ -175,7 +175,7 @@ void f() {
|
|||||||
<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>.</p>
|
value for <em>N</em>.</p>
|
||||||
|
|
||||||
<p>This implementation of <code>result_of</code> requires class template partial specialization, the ability to parse function types properly, and support for SFINAE. Contributed by Doug Gregor.</p>
|
<p>This implementation of <code>result_of</code> requires class template partial specialization, the ability to parse function types properly, and support for SFINAE. If <code>result_of</code> is not supported by your compiler, including the header <code>boost/utility/result_of.hpp</code> will define the macro <code>BOOST_NO_RESULT_OF</code>. Contributed by Doug Gregor.</p>
|
||||||
|
|
||||||
<h2>Class templates for the Base-from-Member Idiom</h2>
|
<h2>Class templates for the Base-from-Member Idiom</h2>
|
||||||
<p>See <a href="base_from_member.html">separate documentation</a>.</p>
|
<p>See <a href="base_from_member.html">separate documentation</a>.</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user