From 733b5d5ae2c5d625211e2985ac25728ac3f54883 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Mon, 21 Mar 2016 15:45:20 +0900 Subject: Imported Upstream version 1.58.0 Change-Id: If0072143aa26874812e0db6872e1efb10a3e5e94 Signed-off-by: DongHun Kwak --- doc/html/boost/date_time/c_time.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/boost/date_time/c_time.html') diff --git a/doc/html/boost/date_time/c_time.html b/doc/html/boost/date_time/c_time.html index a612f36e8c..47ec1ea178 100644 --- a/doc/html/boost/date_time/c_time.html +++ b/doc/html/boost/date_time/c_time.html @@ -34,27 +34,27 @@ struct c_time { - // public static functions - static std::tm * localtime(const std::time_t *, std::tm *); - static std::tm * gmtime(const std::time_t *, std::tm *); - static std::tm * localtime(const std::time_t *, std::tm *); - static std::tm * gmtime(const std::time_t *, std::tm *); + // public static functions + static std::tm * localtime(const std::time_t *, std::tm *); + static std::tm * gmtime(const std::time_t *, std::tm *); + static std::tm * localtime(const std::time_t *, std::tm *); + static std::tm * gmtime(const std::time_t *, std::tm *); };
-

Description

+

Description

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.

-

-c_time public static functions

+

+c_time public static functions

  1. -
    static std::tm * localtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
  2. +
    static std::tm * localtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
  3. -
    static std::tm * gmtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
  4. +
    static std::tm * gmtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
  5. -
    static std::tm * localtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
  6. +
    static std::tm * localtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
  7. -
    static std::tm * gmtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
  8. +
    static std::tm * gmtime(const std::time_t * t, std::tm * result);
    requires a pointer to a user created std::tm struct
-- cgit v1.2.3