[Bug libstdc++/100682] Outdated manual about the debug mode using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100682 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Jonathan Wakely --- I've restored the header and __gnu_debug::array (as an alias for std::array).
[Bug libstdc++/100682] Outdated manual about the debug mode using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100682 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:743df0fa0df5af32fce70fcdc6ae6b7dc0f01d9b commit r11-8920-g743df0fa0df5af32fce70fcdc6ae6b7dc0f01d9b Author: Jonathan Wakely Date: Thu Jul 22 11:45:32 2021 +0100 libstdc++: Restore __gnu_debug::array [PR100682] As the PR points out, we removed the debug version of std::array without any period of deprecation. Although std::array contains all the actual debug checks now, removing the header breaks any code that was using that explicitly. The manual still lists doing that as supported. This restores the header, but simply defines __gnu_debug::array as an alias for std::array, and declares the alias with the deprecated attribute. The docs are updated to match. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: PR libstdc++/100682 * doc/xml/manual/debug_mode.xml: Update documentation about debug capability of std::array. * doc/html/*: Regenerate. * include/debug/array: New file. (cherry picked from commit 254e5d19a177af23a77b67fd51d0d1a25eaabfc7)
[Bug libstdc++/100682] Outdated manual about the debug mode using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100682 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org --- Comment #3 from Jonathan Wakely --- Fixed on trunk for now.
[Bug libstdc++/100682] Outdated manual about the debug mode using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100682 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:254e5d19a177af23a77b67fd51d0d1a25eaabfc7 commit r12-2467-g254e5d19a177af23a77b67fd51d0d1a25eaabfc7 Author: Jonathan Wakely Date: Thu Jul 22 11:45:32 2021 +0100 libstdc++: Restore __gnu_debug::array [PR100682] As the PR points out, we removed the debug version of std::array without any period of deprecation. Although std::array contains all the actual debug checks now, removing the header breaks any code that was using that explicitly. The manual still lists doing that as supported. This restores the header, but simply defines __gnu_debug::array as an alias for std::array, and declares the alias with the deprecated attribute. The docs are updated to match. Signed-off-by: Jonathan Wakely libstdc++-v3/ChangeLog: PR libstdc++/100682 * doc/xml/manual/debug_mode.xml: Update documentation about debug capability of std::array. * doc/html/*: Regenerate. * include/debug/array: New file.
[Bug libstdc++/100682] Outdated manual about the debug mode using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100682 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.3
[Bug libstdc++/100682] Outdated manual about the debug mode using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100682 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed||2021-05-19 Status|UNCONFIRMED |NEW --- Comment #1 from Jonathan Wakely --- (In reply to frankhb1989 from comment #0) > BTW, what is the compatibility policy here? Is it true that any > headers could be removed in a future release of GCC without deprecation? We probably shouldn't do that. I suppose we could restore but with this content: #include namespace __gnu_debug { using std::array; using std::get; using std::swap; } And then deprecate it.