Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56548 - trunk/boost/date_time
From: andrey.semashev_at_[hidden]
Date: 2009-10-03 06:21:09


Author: andysem
Date: 2009-10-03 06:21:08 EDT (Sat, 03 Oct 2009)
New Revision: 56548
URL: http://svn.boost.org/trac/boost/changeset/56548

Log:
Refs #3470. Modified documentation for c_time functions to reflect the actual behavior.
Text files modified:
   trunk/boost/date_time/c_time.hpp | 20 +++++++++++---------
   1 files changed, 11 insertions(+), 9 deletions(-)

Modified: trunk/boost/date_time/c_time.hpp
==============================================================================
--- trunk/boost/date_time/c_time.hpp (original)
+++ trunk/boost/date_time/c_time.hpp 2009-10-03 06:21:08 EDT (Sat, 03 Oct 2009)
@@ -2,10 +2,10 @@
 #define DATE_TIME_C_TIME_HPP___
 
 /* Copyright (c) 2002,2003,2005 CrystalClear Software, Inc.
- * Use, modification and distribution is subject to the
+ * Use, modification and distribution is subject to the
  * Boost Software License, Version 1.0. (See accompanying
  * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
- * Author: Jeff Garland, Bart Garst
+ * Author: Jeff Garland, Bart Garst
  * $Date$
  */
 
@@ -38,12 +38,14 @@
 namespace boost {
 namespace date_time {
   //! Provides a uniform interface to some 'ctime' functions
- /*! Provides a uniform interface to some ctime functions and
- * their '_r' counterparts. The '_r' functions require a pointer to a
- * user created std::tm struct whereas the regular functions use a
- * staticly created struct and return a pointer to that. These wrapper
- * functions require the user to create a std::tm struct and send in a
- * pointer to it. A pointer to the user created struct will be returned.
+ /*! Provides a uniform interface to some ctime functions and
+ * their '_r' counterparts. The '_r' functions require a pointer to a
+ * user created std::tm struct whereas the regular functions use a
+ * staticly created struct and return a pointer to that. These wrapper
+ * functions require the user to create a std::tm struct and send in a
+ * pointer to it. This struct may be used to store the resulting time.
+ * The returned pointer may or may not point to this struct, however,
+ * it will point to the result of the corresponding function.
    * All functions do proper checking of the C function results and throw
    * exceptions on error. Therefore the functions will never return NULL.
    */
@@ -101,5 +103,5 @@
 #endif // BOOST_HAS_THREADS
   };
 }} // namespaces
-
+
 #endif // DATE_TIME_C_TIME_HPP___


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