[c++0x] <date_time> implementation, take 2

Pedro Lamarão pedro.lamarao@mndfck.org
Mon Mar 10 04:17:00 GMT 2008


Here goes. The patch was generated with svn diff.

It defines get_system_time using std::time; we can add support for more 
precise stuff later.

Attached in a tarball is a testsuite for std::nanoseconds and 
std::system_time.

2008-03-10  Pedro Lamarão  <pedro.lamarao@gmail.com>

	* include/std/date_time: new file.
	* src/date_time.cpp: new file.
	* config/abi/pre/gnu.ver: get_system_time is a new symbol
	in version GLIBCXX_3.4.11.
	* include/Makefile.am: add date_time in std headers.
	* src/Makefile.am: add date_time.cc to source files.

--
  P.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 31_date_time.tar.bz2
Type: application/x-bzip
Size: 2052 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080310/77f4fd8e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: date_time.patch
Type: text/x-patch
Size: 10073 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080310/77f4fd8e/attachment-0001.bin>


More information about the Gcc-patches mailing list