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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <[email protected]>:

https://gcc.gnu.org/g:9332dfd4523ddb100668a7c11a144a2bd676da7e

commit r16-5224-g9332dfd4523ddb100668a7c11a144a2bd676da7e
Author: Jonathan Wakely <[email protected]>
Date:   Thu Nov 13 09:45:12 2025 +0000

    libstdc++: Fix std::forward_list::assign assignable check [PR122661]

    The std::is_assignable check should test for assignment to an lvalue,
    not an rvalue.

    libstdc++-v3/ChangeLog:

            PR libstdc++/122661
            * include/bits/forward_list.h (forward_list::assign(I, I)): Fix
            value category in is_assignable check.
            * testsuite/23_containers/forward_list/modifiers/122661.cc:
            New test.

Reply via email to