Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2007-12-15 17:15:57


Author: bemandawes
Date: 2007-12-15 17:15:57 EST (Sat, 15 Dec 2007)
New Revision: 42085
URL: http://svn.boost.org/trac/boost/changeset/42085

Log:
V1 issue 59.
Text files modified:
   sandbox/committee/LWG/issues.html | 4 -
   sandbox/committee/LWG/thread_library.html | 76 ++++++++++-----------------------------
   2 files changed, 21 insertions(+), 59 deletions(-)

Modified: sandbox/committee/LWG/issues.html
==============================================================================
--- sandbox/committee/LWG/issues.html (original)
+++ sandbox/committee/LWG/issues.html 2007-12-15 17:15:57 EST (Sat, 15 Dec 2007)
@@ -318,7 +318,7 @@
 <p>&#10004; 58. [time.system] (31.8): separate non-normative from normative text:
 break
 into two paragraphs. </p>
-<p>59. [time.nonmembers] (31.9): would it help with the comparison
+<p>&#9998;59. [time.nonmembers] (31.9): would it help with the comparison
 functions to
 start by defining a new term, FD (which is terrible, but the best I
 can come
@@ -327,8 +327,6 @@
 operator== can be defined as FD(x.count()) == FD(y.count()), and the
 same
 pattern can be applied to operator&lt;, operator+, and operator-. </p>
-<p><i>The type FRDuration has already been defined (right after the header &lt;date_time&gt;
-synopsis). So it could be used operationally, as Pete suggests.</i></p>
 <p>&nbsp;</p>
 
 </body>

Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-15 17:15:57 EST (Sat, 15 Dec 2007)
@@ -3729,9 +3729,9 @@
   bool operator&gt;=(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>);
 
 template &lt;class LhsDuration, class RhsDuration&gt;
- <var>FRDuration</var> operator+(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
+ <var>FinestDuration</var> operator+(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
 template &lt;class LhsDuration, class RhsDuration&gt;
- <var>FRDuration</var> operator-(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
+ <var>FinestDuration</var> operator-(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
 
 template &lt;class Duration&gt;
   Duration operator*(Duration <var>lhs</var>, long <var>rhs</var>)
@@ -3745,11 +3745,11 @@
 </blockquote>
 
 <p>
-Type <code><var>FRDuration</var></code>
+Through this clause, type <code><var>FinestDuration</var></code>
 is whichever of <code>LhsDuration</code> or <code>RhsDuration</code>
 has the finest resolution.
 If their resolutions are the same,
-<code><var>FRDuration</var></code>is <code>LhsDuration</code>.
+<code><var>FinestDuration </var></code>is <code>LhsDuration</code>.
 </p>
 
 <p>
@@ -4854,18 +4854,9 @@
 
 <dt>Returns:</dt>
 <dd>
-If the resolution of <code>LhsDuration</code>
-is the same as the resolution of <code>RhsDuration</code>,
-<code><var>lhs</var>.count()==<var>rhs</var>.count()</code>.
-Otherwise, if the resolution of <code>LhsDuration</code>
-is finer than the resolution of <code>RhsDuration</code>,
-<code><var>lhs</var>.count()==x</code>,
-where <code>x</code> is <code><var>rhs</var>.count()</code>
-converted to the resolution of <code>LhsDuration</code>.
-Otherwise, <code>x==<var>rhs</var>.count()</code>,
-where <code>x</code> is <code><var>lhs</var>.count()</code>
-converted to the resolution of <code>RhsDuration</code>.
-</dd>
+<code>FinestDuration(<var>lhs</var>.count()) == FinestDuration(<var>rhs</var>.count())<br>
+<br>
+</code>See [time] for description of <code>FinestDuration</code>.</dd>
 
 </dl>
 </blockquote>
@@ -4892,18 +4883,9 @@
 
 <dt>Returns:</dt>
 <dd>
-If the resolution of <code>LhsDuration</code>
-is the same as the resolution of <code>RhsDuration</code>,
-<code><var>lhs</var>.count()&lt;<var>rhs</var>.count()</code>.
-Otherwise, if the resolution of <code>LhsDuration</code>
-is finer than the resolution of <code>RhsDuration</code>,
-<code><var>lhs</var>.count()&lt;x</code>,
-where <code>x</code> is <code><var>rhs</var>.count()</code>
-converted to the resolution of <code>LhsDuration</code>.
-Otherwise, <code>x&lt;<var>rhs</var>.count()</code>,
-where <code>x</code> is <code><var>lhs</var>.count()</code>
-converted to the resolution of <code>RhsDuration</code>.
-</dd>
+<code>FinestDuration(<var>lhs</var>.count()) &lt; FinestDuration(<var>rhs</var>.count())<br>
+<br>
+</code>See [time] for description of <code>FinestDuration</code>.</dd>
 
 </dl>
 </blockquote>
@@ -4930,7 +4912,7 @@
 
 <dt>Returns:</dt>
 <dd>
-<code><var>rhs</var>&lt;<var>lhs</var>)</code>.
+<code><var>rhs</var>&lt;<var>lhs</var></code>.
 </dd>
 
 </dl>
@@ -4951,49 +4933,31 @@
 </blockquote>
 <pre><code>
 template &lt;class LhsDuration, class RhsDuration&gt;
- <var>FRDuration</var> operator+(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
+ <var>FinestDuration</var> operator+(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
 </code></pre>
 <blockquote>
 <dl>
 
 <dt>Returns:</dt>
 <dd>
-If the resolution of <code>LhsDuration</code>
-is the same as the resolution of <code>RhsDuration</code>,
-<code>LhsDuration(<var>lhs</var>.count()+<var>rhs</var>.count())</code>.
-Otherwise, if the resolution of <code>LhsDuration</code>
-is finer than the resolution of <code>RhsDuration</code>,
-<code>LhsDuration(<var>lhs</var>.count()+x)</code>,
-where <code>x</code> is <code><var>rhs</var>.count()</code>
-converted to the resolution of <code>LhsDuration</code>.
-Otherwise, <code>RhsDuration(x+<var>rhs</var>.count())</code>,
-where <code>x</code> is <code><var>lhs</var>.count()</code>
-converted to the resolution of <code>RhsDuration</code>.
-</dd>
+<code>FinestDuration(<var>lhs</var>.count())+FinestDuration(<var>rhs</var>.count())<br>
+<br>
+</code>See [time] for description of <code>FinestDuration</code>.</dd>
 
 </dl>
 </blockquote>
 <pre><code>
 template &lt;class LhsDuration, class RhsDuration&gt;
- <var>FRDuration</var> operator-(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
+ <var>FinestDuration</var> operator-(const LhsDuration&amp; <var>lhs</var>, const RhsDuration&amp; <var>rhs</var>)
 </code></pre>
 <blockquote>
 <dl>
 
 <dt>Returns:</dt>
 <dd>
-If the resolution of <code>LhsDuration</code>
-is the same as the resolution of <code>RhsDuration</code>,
-<code>LhsDuration(<var>lhs</var>.count()-<var>rhs</var>.count())</code>.
-Otherwise, if the resolution of <code>LhsDuration</code>
-is finer than the resolution of <code>RhsDuration</code>,
-<code>LhsDuration(<var>lhs</var>.count()-x)</code>,
-where <code>x</code> is <code><var>rhs</var>.count()</code>
-converted to the resolution of <code>LhsDuration</code>.
-Otherwise, <code>RhsDuration(x-<var>rhs</var>.count())</code>,
-where <code>x</code> is <code><var>lhs</var>.count()</code>
-converted to the resolution of <code>RhsDuration</code>.
-</dd>
+<code>FinestDuration(<var>lhs</var>.count())-FinestDuration(<var>rhs</var>.count())<br>
+<br>
+</code>See [time] for description of <code>FinestDuration</code>.</dd>
 
 </dl>
 </blockquote>
@@ -5127,4 +5091,4 @@
 </p>
 
 </body>
-</html>
+</html>
\ No newline at end of file


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