Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51933 - sandbox/committee/rvalue_ref
From: dave_at_[hidden]
Date: 2009-03-23 08:48:57


Author: dave
Date: 2009-03-23 08:48:56 EDT (Mon, 23 Mar 2009)
New Revision: 51933
URL: http://svn.boost.org/trac/boost/changeset/51933

Log:
Entity-ize the angle-brackets

Text files modified:
   sandbox/committee/rvalue_ref/rvalue-ref-exception-safety.html | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/committee/rvalue_ref/rvalue-ref-exception-safety.html
==============================================================================
--- sandbox/committee/rvalue_ref/rvalue-ref-exception-safety.html (original)
+++ sandbox/committee/rvalue_ref/rvalue-ref-exception-safety.html 2009-03-23 08:48:56 EDT (Mon, 23 Mar 2009)
@@ -134,7 +134,7 @@
 
 <pre>
 template <class T>
-T&& move(T& x) { return static_cast<T&&>(x); }
+T&& move(T& x) { return static_cast&lt;T&&&gt;(x); }
 </pre>
   
 The <code>T(std::move(x))</code> idiom is only a move <em>request</em>
@@ -145,7 +145,7 @@
 in <code>std::swap</code>:
 
 <pre>
-template <class T>
+template &lt;class T&gt;
 void swap(T& x, T& y)
 {
    T tmp(std::move(x)); // 1


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