[PATCH 4/4]: C++ P1423R3 char8_t remediation: New tests

Tom Honermann tom@honermann.net
Mon Sep 16 02:34:00 GMT 2019


A revised patch is attached that modifies the tests for deleted ostream 
inserters to require C++2a.  This is required by the revision of patch 
2/4 that adds proper preprocessor conditionals to the definitions.

Tom.

On 9/15/19 3:40 PM, Tom Honermann wrote:
> This patch adds new tests to validate new deleted overloads of wchar_t, 
> char8_t, char16_t, and char32_t for ordinary and wide formatted 
> character and string ostream inserters.
> 
> Additionally, new tests are added to validate invocations of u8path with 
> sequences of char8_t for both the C++17 and filesystem TS implementations.
> 
> libstdc++-v3/ChangeLog:
> 
> 2019-09-15  Tom Honermann  <tom@honermann.net>
> 
>       * 
> libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/char/deleted.cc: 
> 
>         New test to validate deleted overloads of character and string
>         inserters for narrow ostreams.
>       * 
> libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/deleted.cc: 
> 
>         New test to validate deleted overloads of character and string
>         inserters for wide ostreams.
>       * 
> libstdc++-v3/testsuite/27_io/filesystem/path/factory/u8path-char8_t.cc:
>         New test to validate u8path invocations with sequences of
>         char8_t.
>       * 
> libstdc++-v3/testsuite/experimental/filesystem/path/factory/u8path-char8_t.cc 
> 
>         New test to validate u8path invocations with sequences of
>         char8_t.
> 
> Tom.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1423r3-4-2.patch
Type: text/x-patch
Size: 8310 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190916/d9c28fe2/attachment.bin>


More information about the Libstdc++ mailing list