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

--- Comment #12 from GCC 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:e9ed0a05fddaba4e5257beaddb7cbaf31607a784

commit r15-7555-ge9ed0a05fddaba4e5257beaddb7cbaf31607a784
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Feb 13 00:26:27 2025 +0000

    libstdc++: Simplify and comment std::jthread extension [PR100612]

    Use a requires-clause on the partial specialization of the
    __pmf_expects_stop_token variable template, which is used for the
    extension that allows constructing std::jthread with a
    pointer-to-member-function that accepts a std::stop_token argument.

    Also add a comment referring to the related Bugzilla PR.

    libstdc++-v3/ChangeLog:

            PR libstdc++/100612
            * include/std/thread (__pmf_expects_stop_token): Constrain
            variable template specialization with concept. Add comment.

Reply via email to