aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-07-22 11:45:32 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-07-22 13:53:57 +0100
commit254e5d19a177af23a77b67fd51d0d1a25eaabfc7 (patch)
treef99151953f0e5b21d72ed5ea912092cfaa70fa1a /gcc
parentd3fa77472b78c5ddada03a1052b229bea11cb76f (diff)
downloadgcc-254e5d19a177af23a77b67fd51d0d1a25eaabfc7.zip
gcc-254e5d19a177af23a77b67fd51d0d1a25eaabfc7.tar.gz
gcc-254e5d19a177af23a77b67fd51d0d1a25eaabfc7.tar.bz2
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 <debug/arrray> header breaks any code that was using that explicitly. The manual still lists doing that as supported. This restores the <debug/array> 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 <jwakely@redhat.com> 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.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions