Re: [PATCH] 1/2 Make _GLIBCXX_DEBUG checks constexpr compatible

2020-11-09 Thread Jonathan Wakely via Gcc-patches
On 08/11/20 15:06 +0100, François Dumont via Libstdc++ wrote: Now that __glibcxx_assert is constexpr compatible we can do the same for the _GLIBCXX_DEBUG equivalent. I had also try to do the same on my own so this patch contains the string_view tests I had written when doing so. I plan to a

[PATCH] 1/2 Make _GLIBCXX_DEBUG checks constexpr compatible

2020-11-08 Thread François Dumont via Gcc-patches
Now that __glibcxx_assert is constexpr compatible we can do the same for the _GLIBCXX_DEBUG equivalent. I had also try to do the same on my own so this patch contains the string_view tests I had written when doing so. I plan to activate some _GLIBCXX_DEBUG checks when _GLIBCXX_ASSERTIONS is