correction to result_of documentation

[SVN r64696]
This commit is contained in:
Daniel Walker 2010-08-09 16:23:50 +00:00
parent 94b91e8c92
commit fb1d2effef

View File

@ -183,10 +183,9 @@ typedef boost::result_of<
&gt;::type type;</pre>
</blockquote>
<p>If your compiler does not support
<code>decltype</code>, then automatic result type
deduction of function objects is not
possible. Instead, <code>result_of</code>
<p>If <code>decltype</code> is not enabled,
then automatic result type deduction of function
objects is not possible. Instead, <code>result_of</code>
uses the following protocol to allow the programmer to
specify a type. When <code>F</code> is a class type with a
member type <code>result_type</code>,