Time functions
[QuantLib macros]


Detailed Description

Some compilers still define time functions in the global namespace. For the code to be portable these macros had to be used instead of the actual functions. However, Boost provides the means of bypassing this limitation; therefore, all these macros are now deprecated in favor of the actual functions in namespace std.


Defines

#define QL_TIME   std::time
 time value
#define QL_TIME_T   std::time_t
 time_t type
#define QL_TM   std::tm
 tm type
#define QL_GMTIME   std::gmtime
 gmtime function


Define Documentation

#define QL_TIME   std::time
 

time value

Deprecated:
use std::time instead

#define QL_TIME_T   std::time_t
 

time_t type

Deprecated:
use std::time_t instead

#define QL_TM   std::tm
 

tm type

Deprecated:
use std::tm instead

#define QL_GMTIME   std::gmtime
 

gmtime function

Deprecated:
use std::gmtime instead


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen