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

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

https://gcc.gnu.org/g:685a8c45d8e2c8c10171e672888484ea2c50662e

commit r12-9894-g685a8c45d8e2c8c10171e672888484ea2c50662e
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Sep 21 09:14:57 2023 +0100

    libstdc++: Prevent unwanted ADL in std::to_array [PR111512]

    Qualify the calls to the __to_array helper to prevent ADL, so we don't
    try to complete associated classes.

    libstdc++-v3/ChangeLog:

            PR libstdc++/111511
            PR c++/111512
            * include/std/array (to_array): Qualify calls to __to_array.
            * testsuite/23_containers/array/creation/111512.cc: New test.

    (cherry picked from commit 77cf3773021b0a20d89623e09d620747a05588ec)

Reply via email to