This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH 2/3] libstdc++: Add put_time support.
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Rüdiger Sonderfeld <ruediger at c-plusplus dot de>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Oct 2014 13:08:12 +0100
- Subject: Re: [PATCH 2/3] libstdc++: Add put_time support.
- Authentication-results: sourceware.org; auth=none
- References: <e10a43fd7a4e1483232e786c6effe00757da1804 dot 1397596544 dot git dot ruediger at c-plusplus dot de> <20579426 dot HgWSEr9zjR at descartes>
On 15/04/14 23:20 +0200, Rüdiger Sonderfeld wrote:
Described in [ext.manip].
* libstdc++-v3/include/std/iomanip (_Put_time): New struct.
(put_time): New manipulator.
(operator<<): New overloaded function.
* libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/1.cc:
* libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc:
* libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc:
* libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc:
New file.
The 27_io/manipulators/extended/put_time/char/2.cc and
27_io/manipulators/extended/put_time/wchar_t/2.cc tests fail for me.
i2.exe: /home/jwakely/src/gcc/gcc/libstdc++-v3/testsuite/27_io/manipulators/extended/put_time/char/2.cc:41: void test01(): Assertion `oss.str() == "Son 1971"' failed.
FAIL: 27_io/manipulators/extended/put_time/char/2.cc execution test