Re: [PATCH 2/2] libstdc++: Use template form for pretty-printing tuple elements

2021-06-16 Thread Jonathan Wakely via Gcc-patches
On Mon, 14 Jun 2021 at 19:14, Paul Smith via Libstdc++ wrote: > > std::tuple elements are retrieved via std::get<> (template) not > [] (array); have the generated output string match this. Both of your patches seem to be based on the idea that the output is supposed to correspond to how you

[PATCH 2/2] libstdc++: Use template form for pretty-printing tuple elements

2021-06-14 Thread Paul Smith via Gcc-patches
std::tuple elements are retrieved via std::get<> (template) not [] (array); have the generated output string match this. libstdc++-v3/ChangeLog: * python/libstdcxx/v6/printers.py (StdTuplePrinter): Use <> not []. --- The previous patch seems uncontroversial to me. I don't know about