Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62503 - trunk/libs/thread/doc
From: anthony_at_[hidden]
Date: 2010-06-07 04:59:27


Author: anthonyw
Date: 2010-06-07 04:59:27 EDT (Mon, 07 Jun 2010)
New Revision: 62503
URL: http://svn.boost.org/trac/boost/changeset/62503

Log:
Added documentation of thread move constructor

Text files modified:
   trunk/libs/thread/doc/thread_ref.qbk | 16 ++++++++++++++++
   1 files changed, 16 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 2010-06-07 04:59:27 EDT (Mon, 07 Jun 2010)
@@ -235,6 +235,22 @@
 
 [endsect]
 
+[section:move_constructor Move Constructor]
+
+ thread(detail::thread_move_t<thread> other);
+
+[variablelist
+
+[[Effects:] [Transfers ownership of the thread managed by `other` (if any) to the newly constructed __thread__ instance.]]
+
+[[Postconditions:] [`other->get_id()==thread::id()`]]
+
+[[Throws:] [Nothing]]
+
+]
+
+[endsect]
+
 [section:callable_constructor Thread Constructor]
 
     template<typename Callable>


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