Boost logo

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&amp; x, thread&amp; y);
-void swap(thread&amp;&amp; x, thread&amp; y);
-void swap(thread&amp; x, thread&amp;&amp; y);
+void swap(thread&amp; <var>x</var>, thread&amp; <var>y</var>);
+void swap(thread&amp;&amp; <var>x</var>, thread&amp; <var>y</var>);
+void swap(thread&amp; <var>x</var>, thread&amp;&amp; <var>y</var>);
 
 namespace this_thread
 {
@@ -335,12 +335,12 @@
     id();
 };
 
-bool operator==(const thread::id&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
-bool operator!=(const thread::id&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
-bool operator&lt;(const thread::id&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
-bool operator&lt;=(const thread::id&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
-bool operator&gt;(const thread::id&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
-bool operator&gt;=(const thread::id&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
+bool operator==(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
+bool operator!=(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
+bool operator&lt;(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
+bool operator&lt;=(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
+bool operator&gt;(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
+bool operator&gt;=(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
 
 template&lt;class charT, class traits&gt;
 basic_ostream&lt;charT, traits&gt;&amp;
@@ -386,14 +386,14 @@
 </dl>
 
 <pre><code>
-bool operator==(const thread::id&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
+bool operator==(const thread::id&amp; <var>x</var>, const thread::id&amp; <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&amp; <i>x</i>, const thread::id&amp; <i>y</i>);
+bool operator!=(const thread::id&amp; <var>x</var>, const thread::id&amp; <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&lt;(const thread::id&amp; x, const thread::id&amp; y);
+bool operator&lt;(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
 </code></pre>
 
 <dl>
@@ -438,13 +438,13 @@
 </dl>
 
 <pre><code>
-bool operator&lt;=(const thread::id&amp; x, const thread::id&amp; y);
+bool operator&lt;=(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
 </code></pre>
 
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>!(y &lt; x)</code>
+<code>!(<var>y</var> &lt; <var>x</var>)</code>
 </dd>
 
 <dt>Throws:</dt>
@@ -454,13 +454,13 @@
 </dl>
 
 <pre><code>
-bool operator&gt;(const thread::id&amp; x, const thread::id&amp; y);
+bool operator&gt;(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
 </code></pre>
 
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>y &lt; x</code>
+<code><var>y</var> &lt; <var>x</var></code>
 </dd>
 
 <dt>Throws:</dt>
@@ -470,13 +470,13 @@
 </dl>
 
 <pre><code>
-bool operator&gt;=(const thread::id&amp; x, const thread::id&amp; y);
+bool operator&gt;=(const thread::id&amp; <var>x</var>, const thread::id&amp; <var>y</var>);
 </code></pre>
 
 <dl>
 <dt>Returns:</dt>
 <dd>
-<code>!(x &lt; y)</code>
+<code>!(<var>x</var> &lt; <var>y</var>)</code>
 </dd>
 
 <dt>Throws:</dt>
@@ -583,22 +583,22 @@
 </dl>
 
 <pre><code>
-thread(thread&amp;&amp; <i>x</i>);
+thread(thread&amp;&amp; <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&amp; operator=(thread&amp;&amp; <i>x</i>);
+thread&amp; operator=(thread&amp;&amp; <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&amp;&amp; <i>x</i>);
+void swap(thread&amp;&amp; <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&amp; x, thread&amp; y);
-void swap(thread&amp;&amp; x, thread&amp; y);
-void swap(thread&amp; x, thread&amp;&amp; y);
+void swap(thread&amp; <var>x</var>, thread&amp; <var>y</var>);
+void swap(thread&amp;&amp; <var>x</var>, thread&amp; <var>y</var>);
+void swap(thread&amp; <var>x</var>, thread&amp;&amp; <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 &lt;class Mutex&gt; class lock_guard;
 template &lt;class Mutex&gt; class unique_lock;
 
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; x, unique_lock&lt;Mutex&gt;&amp; y);
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp;&amp; x, unique_lock&lt;Mutex&gt;&amp; y);
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; x, unique_lock&lt;Mutex&gt;&amp;&amp; y);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp; <var>y</var>);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp; <var>y</var>);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp;&amp; <var>y</var>);
 
 template &lt;class L1, class L2, class ...L3&gt; int try_lock(L1&amp;, L2&amp;, L3&amp;...);
 template &lt;class L1, class L2, class ...L3&gt; void lock(L1&amp;, L2&amp;, L3&amp;...);
@@ -1561,9 +1561,9 @@
     mutex_type* release();
 };
 
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; x, unique_lock&lt;Mutex&gt;&amp; y);
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp;&amp; x, unique_lock&lt;Mutex&gt;&amp; y);
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; x, unique_lock&lt;Mutex&gt;&amp;&amp; y);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp; <var>y</var>);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp; <var>y</var>);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp;&amp; <var>y</var>);
 
 } // std
 </code></pre>
@@ -1988,15 +1988,15 @@
 </dl>
 
 <pre><code>
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; x, unique_lock&lt;Mutex&gt;&amp; y);
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp;&amp; x, unique_lock&lt;Mutex&gt;&amp; y);
-template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; x, unique_lock&lt;Mutex&gt;&amp;&amp; y);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp; <var>y</var>);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp; <var>y</var>);
+template &lt;class Mutex&gt; void swap(unique_lock&lt;Mutex&gt;&amp; <var>x</var>, unique_lock&lt;Mutex&gt;&amp;&amp; <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