[PATCH] PR libstdc++/80276 fix pretty printers for array smart pointers

Jonathan Wakely jwakely@redhat.com
Sat Jan 13 03:12:00 GMT 2018


On 13/01/18 00:29 +0000, Jonathan Wakely wrote:
>Secondly, std::experimental::optional no longer omits the
>fundamentals_v1 inline namespace ... but then it didn't work properly
>anyway because it displayed as "std::experimental::optional<\1>". So
>arguably it's better to have no type printer than one that displays
>the wrong type! I've also removed the type printer for
>std::experimental::any was bogus, because it tried to match a
>template, and any isn't a template!

Here's a patch that just fixes the optional<\1> bug, which I'll commit
to the branches.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1793 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180113/07d30891/attachment.bin>


More information about the Gcc-patches mailing list