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