Boost logo

Boost-Commit :

From: hinnant_at_[hidden]
Date: 2007-12-07 16:06:37


Author: hinnant
Date: 2007-12-07 16:06:37 EST (Fri, 07 Dec 2007)
New Revision: 41838
URL: http://svn.boost.org/trac/boost/changeset/41838

Log:
Corrected formula in system_time constructor
Text files modified:
   sandbox/committee/LWG/thread_library.html | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/committee/LWG/thread_library.html
==============================================================================
--- sandbox/committee/LWG/thread_library.html (original)
+++ sandbox/committee/LWG/thread_library.html 2007-12-07 16:06:37 EST (Fri, 07 Dec 2007)
@@ -4232,7 +4232,7 @@
     </dl>
   </blockquote>
 
- <pre><code>system_time(time_t secs, nanoseconds <var>ns</var>=0);</code> </pre>
+ <pre><code>system_time(time_t <var>secs</var>, nanoseconds <var>ns</var>=0);</code> </pre>
 
   <blockquote>
     <dl>
@@ -4240,7 +4240,7 @@
       <dd>
         Construct<var>s</var> a <code>system_time</code>
         time object representing the time point
- <i><code>secs</code></i> + 1,000,000,000*<i><code><var>ns</var></code></i> after the epoch.
+ <code><var>secs</var> + <var>ns</var> / 1,000,000,000</code> seconds after the epoch.
       </dd>
 
       <dt>Remarks:</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