https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100682

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:254e5d19a177af23a77b67fd51d0d1a25eaabfc7

commit r12-2467-g254e5d19a177af23a77b67fd51d0d1a25eaabfc7
Author: Jonathan Wakely <jwak...@redhat.com>
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 <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 <jwak...@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.

Reply via email to