Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2007-12-13 13:28:25


Author: bemandawes
Date: 2007-12-13 13:28:25 EST (Thu, 13 Dec 2007)
New Revision: 42011
URL: http://svn.boost.org/trac/boost/changeset/42011

Log:
V1 issue #49
Text files modified:
   sandbox/committee/LWG/issues.html | 2 +-
   sandbox/committee/LWG/thread_library.html | 15 +++++++++------
   2 files changed, 10 insertions(+), 7 deletions(-)

Modified: sandbox/committee/LWG/issues.html
==============================================================================
--- sandbox/committee/LWG/issues.html (original)
+++ sandbox/committee/LWG/issues.html 2007-12-13 13:28:25 EST (Thu, 13 Dec 2007)
@@ -293,7 +293,7 @@
 that it's mostly cut-and-paste, and that the same issues as in
 [threads.condvar] apply (except 46). </p>
 <p>&#10004; 48. [time.duration.requirements] (31.1), third paragraph: see 16. </p>
-<p>49. [time.duration.requirements] (31.1), table: the subscript at-entry
+<p>&#10004; 49. [time.duration.requirements] (31.1), table: the subscript at-entry
 is
 jarring at best. &lt;g&gt; How about defining another symbol, say, d0, which
 is

Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-13 13:28:25 EST (Thu, 13 Dec 2007)
@@ -3781,6 +3781,7 @@
 for well-formed expressions specified in the following table,
 where <code>D</code> and <code>E</code> are duration types,
 <code>d</code> denotes a <code>const</code> value of type <code>D</code>,
+<code>d0</code> denotes <code>d.tick_count()</code> at entry into the function,
 <code>e</code> denotes a <code>const</code> value of type <code>E</code>,
 <code>c</code> denotes a <code>long</code> value.
 The resolution of <code>E</code>
@@ -3834,16 +3835,17 @@
   <tr>
     <td valign="top"><code>d -= e</code></td>
     <td valign="top"><code>D&amp;</code></td>
- <td valign="top"><code>d.tick_count ==
- d.tick_count()</code><sub>at-entry</sub><code>-x</code>,
+ <td valign="top"><code>d.tick_count() ==
+ d0 - x</code>,
     where <code>x</code> is <code>e.tick_count()</code>
     converted to the resolution of <code>D</code>.</td>
   </tr>
   <tr>
     <td valign="top"><code>d += e</code></td>
     <td valign="top"><code>D&amp;</code></td>
- <td valign="top"><code>d.tick_count ==
- d.tick_count()</code><sub>at-entry</sub><code>+x</code>,
+ <td valign="top"><code>d.tick_count() ==
+
+ d0 + x</code>,
     where <code>x</code> is <code>e.tick_count()</code>
     converted to the resolution of <code>D</code>.</td>
   </tr>
@@ -3851,13 +3853,14 @@
     <td valign="top"><code>d /= c</code></td>
     <td valign="top"><code>D&amp;</code></td>
     <td valign="top"><code>d.tick_count() ==
- d.tick_count()</code><sub>at-entry</sub><code>/c</code></td>
+
+ d0 / c</code></td>
   </tr>
   <tr>
     <td valign="top"><code>d *= c</code></td>
     <td valign="top"><code>D&amp;</code></td>
     <td valign="top"><code>d.tick_count()
- == d.tick_count()</code><sub>at-entry</sub><code>*c</code></td>
+ == d0 * c</code></td>
   </tr>
 </table>
 


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