https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
Jason Merrill changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
--- Comment #8 from Christopher Di Bella ---
The above (presumably) works in 466691493b9, but not in commits starting from
Git hash 6b42dfe4264.
Bugzilla autolink: r278774
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
--- Comment #7 from Christopher Di Bella ---
*** Bug 92739 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
Casey Carter changed:
What|Removed |Added
CC||cjdb.ns at gmail dot com
--- Comment #6 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
--- Comment #5 from Jonathan Wakely ---
I tested it with "concept" not "concept bool" i.e.
template
concept C = true;
template
requires C
[[nodiscard]] int f(T t) {
return 22;
}
int main() {
return 0;
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
Jonathan Wakely changed:
What|Removed |Added
Keywords||rejects-valid
Status|UNCON
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
Mateusz Pusz changed:
What|Removed |Added
CC||mateusz.pusz at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
--- Comment #2 from Casey Carter ---
You can work around this bug by using a trailing requires-clause instead of
putting the requires-clause in the template-head.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82380
Avi Kivity changed:
What|Removed |Added
CC||a...@cloudius-systems.com
--- Comment #1 fr