Re: [PATCH] C++20 P1032 for __debug::array

2019-11-25 Thread Jonathan Wakely
On 25/11/19 22:34 +0100, François Dumont wrote: I plan to commit this tomorrow. Thanks. But I really wonder if we couldn't just add some __glibcxx_checks_xxx in std/array ? That probably makes sense. std::array::iterator is just T* so we don't get debug iterators anyway.

[PATCH] C++20 P1032 for __debug::array

2019-11-25 Thread François Dumont
I plan to commit this tomorrow. But I really wonder if we couldn't just add some __glibcxx_checks_xxx in std/array ?     * include/debug/array (array<>::fill): Add C++20 constexpr.     (array<>::swap): Likewise. François diff --git a/libstdc++-v3/include/debug/array