[PATCH 2/3] libstdc++: Add put_time support.

Jonathan Wakely jwakely@redhat.com
Mon Oct 13 12:08:00 GMT 2014


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



More information about the Libstdc++ mailing list