BOOST_NO_RESULT_OF support

[SVN r30040]
This commit is contained in:
Douglas Gregor 2005-07-13 12:35:37 +00:00
parent 871f3a6779
commit 865c707756
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ struct result_of : get_result_of<F, FArgs, (has_result_type<F>::value)> {};
}
#else
# error Your compiler cannot support class template result_of
# define BOOST_NO_RESULT_OF 1
#endif
#endif // BOOST_RESULT_OF_HPP

View File

@ -175,7 +175,7 @@ void f() {
<code>BOOST_RESULT_OF_NUM_ARGS</code> to the maximum
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>
<p>See <a href="base_from_member.html">separate documentation</a>.</p>