|
Boost-Commit : |
From: Lawrence_at_[hidden]
Date: 2007-10-29 19:22:43
Author: crowl
Date: 2007-10-29 19:22:43 EDT (Mon, 29 Oct 2007)
New Revision: 40577
URL: http://svn.boost.org/trac/boost/changeset/40577
Log:
Normalize implementation name <i>x</i> to <var>x</var>.
Add phrase element to those references missing it.
Do likewise for 'y'.
Text files modified:
sandbox/committee/LWG/thread_library.html | 98 ++++++++++++++++++++--------------------
1 files changed, 49 insertions(+), 49 deletions(-)
Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-10-29 19:22:43 EDT (Mon, 29 Oct 2007)
@@ -246,9 +246,9 @@
class thread;
-void swap(thread& x, thread& y);
-void swap(thread&& x, thread& y);
-void swap(thread& x, thread&& y);
+void swap(thread& <var>x</var>, thread& <var>y</var>);
+void swap(thread&& <var>x</var>, thread& <var>y</var>);
+void swap(thread& <var>x</var>, thread&& <var>y</var>);
namespace this_thread
{
@@ -335,12 +335,12 @@
id();
};
-bool operator==(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
-bool operator!=(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
-bool operator<(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
-bool operator<=(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
-bool operator>(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
-bool operator>=(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
+bool operator==(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
+bool operator!=(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
+bool operator<(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
+bool operator<=(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
+bool operator>(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
+bool operator>=(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
template<class charT, class traits>
basic_ostream<charT, traits>&
@@ -386,14 +386,14 @@
</dl>
<pre><code>
-bool operator==(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
+bool operator==(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
</code></pre>
<dl>
<dt>Returns:</dt>
<dd>
If
-<code><i>x</i></code> and <code><i>y</i></code> represent the same identity,
+<code><var>x</var></code> and <code><var>y</var></code> represent the same identity,
returns <code>true</code>.
Otherwise returns <code>false</code>.
</dd>
@@ -405,13 +405,13 @@
</dl>
<pre><code>
-bool operator!=(const thread::id& <i>x</i>, const thread::id& <i>y</i>);
+bool operator!=(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
</code></pre>
<dl>
<dt>Returns:</dt>
<dd>
-<code>!(<i>x</i> == <i>y</i>)</code>
+<code>!(<var>x</var> == <var>y</var>)</code>
</dd>
<dt>Throws:</dt>
@@ -421,7 +421,7 @@
</dl>
<pre><code>
-bool operator<(const thread::id& x, const thread::id& y);
+bool operator<(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
</code></pre>
<dl>
@@ -438,13 +438,13 @@
</dl>
<pre><code>
-bool operator<=(const thread::id& x, const thread::id& y);
+bool operator<=(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
</code></pre>
<dl>
<dt>Returns:</dt>
<dd>
-<code>!(y < x)</code>
+<code>!(<var>y</var> < <var>x</var>)</code>
</dd>
<dt>Throws:</dt>
@@ -454,13 +454,13 @@
</dl>
<pre><code>
-bool operator>(const thread::id& x, const thread::id& y);
+bool operator>(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
</code></pre>
<dl>
<dt>Returns:</dt>
<dd>
-<code>y < x</code>
+<code><var>y</var> < <var>x</var></code>
</dd>
<dt>Throws:</dt>
@@ -470,13 +470,13 @@
</dl>
<pre><code>
-bool operator>=(const thread::id& x, const thread::id& y);
+bool operator>=(const thread::id& <var>x</var>, const thread::id& <var>y</var>);
</code></pre>
<dl>
<dt>Returns:</dt>
<dd>
-<code>!(x < y)</code>
+<code>!(<var>x</var> < <var>y</var>)</code>
</dd>
<dt>Throws:</dt>
@@ -583,22 +583,22 @@
</dl>
<pre><code>
-thread(thread&& <i>x</i>);
+thread(thread&& <var>x</var>);
</code></pre>
<dl>
<dt>Effects:</dt>
<dd>
-Constructs an object of type <code>thread</code> from <code><i>x</i></code>.
+Constructs an object of type <code>thread</code> from <code><var>x</var></code>.
</dd>
<dt>Postcondition:</dt>
<dd>
-<code><i>x</i>.joinable()</code> is <code>false</code>.
-<code><i>x</i>.get_id() == thread().get_id().joinable()</code>
-returns the value of <code><i>x</i>.joinable()</code>
+<code><var>x</var>.joinable()</code> is <code>false</code>.
+<code><var>x</var>.get_id() == thread().get_id().joinable()</code>
+returns the value of <code><var>x</var>.joinable()</code>
prior to the start of construction.
-<code>get_id()</code> returns the value of <code><i>x</i>.get_id()</code>
+<code>get_id()</code> returns the value of <code><var>x</var>.get_id()</code>
prior to the
start of construction.
</dd>
@@ -631,7 +631,7 @@
<h5><a name="thread.threads.assign">30.1.1.4 <code>thread</code> assignment [thread.threads.assign]</a></h5>
<pre><code>
-thread& operator=(thread&& <i>x</i>);
+thread& operator=(thread&& <var>x</var>);
</code></pre>
<dl>
@@ -640,17 +640,17 @@
If <code>this</code> currently represents a <code>joinable</code> thread object,
calls
<code>detach()</code>.
-Then assigns the state of <code><i>x</i></code> to <code>*this</code>
-and sets <code><i>x</i></code> to a default constructed state.
+Then assigns the state of <code><var>x</var></code> to <code>*this</code>
+and sets <code><var>x</var></code> to a default constructed state.
</dd>
<dt>Postcondition:</dt>
<dd>
-<code><i>x</i>.joinable()</code> is <code>false</code>.
-<code><i>x</i>.get_id() == thread().get_id().joinable()</code> returns the
-value of <code><i>x</i>.joinable()</code> prior to the
+<code><var>x</var>.joinable()</code> is <code>false</code>.
+<code><var>x</var>.get_id() == thread().get_id().joinable()</code> returns the
+value of <code><var>x</var>.joinable()</code> prior to the
assignment.
-<code>get_id()</code> returns the value of <code><i>x</i>.get_id()</code>
+<code>get_id()</code> returns the value of <code><var>x</var>.get_id()</code>
prior to the
assignment.
</dd>
@@ -664,13 +664,13 @@
<h5><a name="thread.threads.member">30.1.1.5 <code>thread</code> members [thread.threads.member]</a></h5>
<pre><code>
-void swap(thread&& <i>x</i>);
+void swap(thread&& <var>x</var>);
</code></pre>
<dl>
<dt>Effects:</dt>
<dd>
-Swaps the state of <code>*this</code> and <code><i>x</i></code>.
+Swaps the state of <code>*this</code> and <code><var>x</var></code>.
</dd>
<dt>Throws:</dt>
@@ -808,15 +808,15 @@
<h5><a name="thread.threads.algorithm">30.1.1.7 <code>thread</code> specialized algorithms [thread.threads.algorithm]</a></h5>
<pre><code>
-void swap(thread& x, thread& y);
-void swap(thread&& x, thread& y);
-void swap(thread& x, thread&& y);
+void swap(thread& <var>x</var>, thread& <var>y</var>);
+void swap(thread&& <var>x</var>, thread& <var>y</var>);
+void swap(thread& <var>x</var>, thread&& <var>y</var>);
</code></pre>
<dl>
<dt>Effects:</dt>
<dd>
-<code>x.swap(y)</code>.
+<code><var>x</var>.swap(<var>y</var>)</code>.
</dd>
</dl>
@@ -1041,9 +1041,9 @@
template <class Mutex> class lock_guard;
template <class Mutex> class unique_lock;
-template <class Mutex> void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y);
-template <class Mutex> void swap(unique_lock<Mutex>&& x, unique_lock<Mutex>& y);
-template <class Mutex> void swap(unique_lock<Mutex>& x, unique_lock<Mutex>&& y);
+template <class Mutex> void swap(unique_lock<Mutex>& <var>x</var>, unique_lock<Mutex>& <var>y</var>);
+template <class Mutex> void swap(unique_lock<Mutex>&& <var>x</var>, unique_lock<Mutex>& <var>y</var>);
+template <class Mutex> void swap(unique_lock<Mutex>& <var>x</var>, unique_lock<Mutex>&& <var>y</var>);
template <class L1, class L2, class ...L3> int try_lock(L1&, L2&, L3&...);
template <class L1, class L2, class ...L3> void lock(L1&, L2&, L3&...);
@@ -1561,9 +1561,9 @@
mutex_type* release();
};
-template <class Mutex> void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y);
-template <class Mutex> void swap(unique_lock<Mutex>&& x, unique_lock<Mutex>& y);
-template <class Mutex> void swap(unique_lock<Mutex>& x, unique_lock<Mutex>&& y);
+template <class Mutex> void swap(unique_lock<Mutex>& <var>x</var>, unique_lock<Mutex>& <var>y</var>);
+template <class Mutex> void swap(unique_lock<Mutex>&& <var>x</var>, unique_lock<Mutex>& <var>y</var>);
+template <class Mutex> void swap(unique_lock<Mutex>& <var>x</var>, unique_lock<Mutex>&& <var>y</var>);
} // std
</code></pre>
@@ -1988,15 +1988,15 @@
</dl>
<pre><code>
-template <class Mutex> void swap(unique_lock<Mutex>& x, unique_lock<Mutex>& y);
-template <class Mutex> void swap(unique_lock<Mutex>&& x, unique_lock<Mutex>& y);
-template <class Mutex> void swap(unique_lock<Mutex>& x, unique_lock<Mutex>&& y);
+template <class Mutex> void swap(unique_lock<Mutex>& <var>x</var>, unique_lock<Mutex>& <var>y</var>);
+template <class Mutex> void swap(unique_lock<Mutex>&& <var>x</var>, unique_lock<Mutex>& <var>y</var>);
+template <class Mutex> void swap(unique_lock<Mutex>& <var>x</var>, unique_lock<Mutex>&& <var>y</var>);
</code></pre>
<dl>
<dt>Effects:</dt>
<dd>
-<code>x.swap(y)</code>.
+<code><var>x</var>.swap(<var>y</var>)</code>.
</dd>
<dt>Throws:</dt>
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