diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-02-13 00:26:27 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-02-15 11:02:20 +0000 |
commit | e9ed0a05fddaba4e5257beaddb7cbaf31607a784 (patch) | |
tree | 38cf0620640a916e80728b7da9d72b11be3ff5b3 /gcc/fortran/trans-expr.cc | |
parent | 7bc72a3d209d60803ac7a8ea8d725dcc2c747259 (diff) | |
download | gcc-e9ed0a05fddaba4e5257beaddb7cbaf31607a784.zip gcc-e9ed0a05fddaba4e5257beaddb7cbaf31607a784.tar.gz gcc-e9ed0a05fddaba4e5257beaddb7cbaf31607a784.tar.bz2 |
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.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions