|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64696 - trunk/libs/utility
From: daniel.j.walker_at_[hidden]
Date: 2010-08-09 12:24:00
Author: djwalker
Date: 2010-08-09 12:23:50 EDT (Mon, 09 Aug 2010)
New Revision: 64696
URL: http://svn.boost.org/trac/boost/changeset/64696
Log:
correction to result_of documentation
Text files modified:
trunk/libs/utility/utility.htm | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Modified: trunk/libs/utility/utility.htm
==============================================================================
--- trunk/libs/utility/utility.htm (original)
+++ trunk/libs/utility/utility.htm 2010-08-09 12:23:50 EDT (Mon, 09 Aug 2010)
@@ -183,10 +183,9 @@
>::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>,
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk