Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72336 - trunk/libs/utility
From: daniel.j.walker_at_[hidden]
Date: 2011-06-01 15:29:58


Author: djwalker
Date: 2011-06-01 15:29:57 EDT (Wed, 01 Jun 2011)
New Revision: 72336
URL: http://svn.boost.org/trac/boost/changeset/72336

Log:
updated result_of doc with decltype info
Text files modified:
   trunk/libs/utility/utility.htm | 9 +++++++++
   1 files changed, 9 insertions(+), 0 deletions(-)

Modified: trunk/libs/utility/utility.htm
==============================================================================
--- trunk/libs/utility/utility.htm (original)
+++ trunk/libs/utility/utility.htm 2011-06-01 15:29:57 EDT (Wed, 01 Jun 2011)
@@ -224,6 +224,15 @@
 &gt;::type type;</pre>
                 </blockquote>
 
+ <p>In a future
+ release, <code>BOOST_RESULT_OF_USE_DECLTYPE</code>
+ may be enabled by default on compilers that
+ support <code>decltype</code>, so if you use the above
+ protocol please take care to ensure that
+ the <code>result_type</code>
+ and <code>result&lt;&gt;</code> members are
+ accurate.</p>
+
                 <a name="BOOST_NO_RESULT_OF"></a>
                 <p>This implementation of <code>result_of</code>
                 requires class template partial specialization, the


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