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

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

https://gcc.gnu.org/g:df0438f1493c4fe1a7380519d9013148618d9782

commit r9-9639-gdf0438f1493c4fe1a7380519d9013148618d9782
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Jun 14 14:18:33 2021 +0100

    libstdc++: Fix std::any constraints [PR101034]

            PR libstdc++/101034

    libstdc++-v3/ChangeLog:

            * include/std/any (any(in_place_t<T>, initializer_list<U>, A&&...))
            (any::emplace<T>(initializer_list<U>, A&&...)): Fix constraint
            to use lvalue.
            * testsuite/20_util/any/cons/101034.cc: New test.

    (cherry picked from commit 14f26c75d255ef05b706a12d25b003da8a2f5b45)
  • [Bug libstdc++/101034] wrong co... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to