Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2008-05-28 04:09:08


Author: anthonyw
Date: 2008-05-28 04:09:07 EDT (Wed, 28 May 2008)
New Revision: 45856
URL: http://svn.boost.org/trac/boost/changeset/45856

Log:
Added note about move support
Text files modified:
   trunk/libs/thread/doc/thread_ref.qbk | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: trunk/libs/thread/doc/thread_ref.qbk
==============================================================================
--- trunk/libs/thread/doc/thread_ref.qbk (original)
+++ trunk/libs/thread/doc/thread_ref.qbk 2008-05-28 04:09:07 EDT (Wed, 28 May 2008)
@@ -17,6 +17,13 @@
         some_thread.join();
     }
 
+[Note: On compilers that support rvalue references, __thread__ provides a proper move constructor and move-assignment operator, and
+therefore meets the C++0x ['MoveConstructible] and ['MoveAssignable] concepts. With such compilers, __thread__ can therefore be used
+with containers that support those concepts.
+
+For other compilers, move support is provided with a move emulation layer, so containers must explicitly detect that move emulation
+layer. See <boost/thread/detail/move.hpp> for details.]
+
 [heading Launching threads]
 
 A new thread is launched by passing an object of a callable type that can be invoked with no parameters to the constructor. 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