Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56622 - trunk/libs/numeric/ublas/doc
From: guwi17_at_[hidden]
Date: 2009-10-06 18:12:48

Author: guwi17
Date: 2009-10-06 18:12:48 EDT (Tue, 06 Oct 2009)
New Revision: 56622

see #3457: introduce move semantics to container types (Incomplete)
 * updated description

Text files modified:
   trunk/libs/numeric/ublas/doc/options.htm | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/libs/numeric/ublas/doc/options.htm
--- trunk/libs/numeric/ublas/doc/options.htm (original)
+++ trunk/libs/numeric/ublas/doc/options.htm 2009-10-06 18:12:48 EDT (Tue, 06 Oct 2009)
@@ -32,14 +32,14 @@
 <p class="credit">The patch and description was provided by Nasos Iliopoulos.</p>
-An immediate effect of this define is the elimination of the need for
-noalias in types <tt>vector&lt;T&gt;</tt> and
-<tt>matrix&lt;T&gt;</tt>, when assigned to the same type. Although
-this patch implements move semantics for bounded_ and c_ (vector and
-matrix) types, they don't have any effect at those types, due to their
-underlying storage. I included it for possible future exploitation.
+<p>An immediate effect of this option is the elimination of the need
+for noalias in types <tt>vector&lt;T&gt;</tt> and <tt>matrix&lt;T&gt;</tt>,
+when assigned to the same type. This option doesn't have an effect on
+bounded and c types. Although it is rare, not all compilers support copy
+elision (that allows for move semantics), so a test must be performed to
+make sure that there is a benefit when it is enabled. A small
+demonstration and test can be found in
 In the <a href="../test/manual/test_move_semantics.cpp">test

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at