Re: [PATCH] libstdc++: Add pretty printer for std::span

2022-04-19 Thread Jonathan Wakely via Gcc-patches
On Tue, 19 Apr 2022 at 12:33, Philipp Fent via Libstdc++ wrote: > > On 19.04.22 12:28, Jonathan Wakely wrote: > > Thanks, but we still need the DCO sign-off as I mailed about last week. > > Thanks for the clarification, your last mail didn't appear to have > content, so I might have missed that pa

Re: [PATCH] libstdc++: Add pretty printer for std::span

2022-04-19 Thread Philipp Fent via Gcc-patches
On 19.04.22 12:28, Jonathan Wakely wrote: Thanks, but we still need the DCO sign-off as I mailed about last week. Thanks for the clarification, your last mail didn't appear to have content, so I might have missed that part. I've now added my DCO sign-off. Best PhilippFrom 64b6779c2694f57981e

Re: [PATCH] libstdc++: Add pretty printer for std::span

2022-04-19 Thread Jonathan Wakely via Gcc-patches
On Tue, 19 Apr 2022 at 10:34, Philipp Fent wrote: > > On 04.04.22 13:39, Jonathan Wakely wrote: > > Nice, thanks. I'll get this committed in time for GCC 12 (and backport > > it to release branches too). > > I've attached a rebased patch for trunk and tested it on x86_64-linux. > I also backported

Re: [PATCH] libstdc++: Add pretty printer for std::span

2022-04-19 Thread Philipp Fent via Gcc-patches
On 04.04.22 13:39, Jonathan Wakely wrote: Nice, thanks. I'll get this committed in time for GCC 12 (and backport it to release branches too). I've attached a rebased patch for trunk and tested it on x86_64-linux. I also backported it for the release branches, gcc-11 tests also pass, on gcc-10

Re: [PATCH] libstdc++: Add pretty printer for std::span

2022-04-14 Thread Jonathan Wakely via Gcc-patches
On Mon, 4 Apr 2022 at 11:54, Philipp Fent via Libstdc++ wrote: > > This improves the debug output for C++20 spans. > Before: > {static extent = 18446744073709551615, _M_ptr = 0x7fffb9a8, > _M_extent = {_M_extent_value = 2}} > Now with StdSpanPrinter: > std::span of length 2 = {1, 2}

Re: [PATCH] libstdc++: Add pretty printer for std::span

2022-04-04 Thread Jonathan Wakely via Gcc-patches
On Mon, 4 Apr 2022 at 11:54, Philipp Fent via Libstdc++ wrote: > > This improves the debug output for C++20 spans. > Before: > {static extent = 18446744073709551615, _M_ptr = 0x7fffb9a8, > _M_extent = {_M_extent_value = 2}} > Now with StdSpanPrinter: > std::span of length 2 = {1, 2} Nice, tha