https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
--- Comment #10 from Marek Polacek ---
(In reply to Will Wray from comment #7)
> Fails to match for variadic arguments. Reopen or file a new bug?
Definitely a new bug, please.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
--- Comment #9 from Will Wray ---
The variadic unknown-bound 1st overload matches exact T(&)[] only
https://godbolt.org/z/9qZpWX
#include
void cat(auto const(&...cstr)[]) { (((void)cstr,puts("G'bye")),...); }
void cat(auto const(&...cstr)[6])
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
--- Comment #8 from Will Wray ---
Reduced example (but still with puts output) https://godbolt.org/z/Ttc2Za
#include
void cat(auto const(&...cstr)[]) { (puts(cstr),...); }
// Comment out this next line[6]
void cat(auto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Will Wray changed:
What|Removed |Added
CC||wjwray at gmail dot com
--- Comment #7 from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Bug 91364 depends on bug 88128, which changed state.
Bug 88128 Summary: G++ should implement CWG 330
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88128
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Bug 91364 depends on bug 69531, which changed state.
Bug 69531 Summary: Implement CWG 1307; Differently bounded array parameters
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69531
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
--- Comment #5 from Marek Polacek ---
Author: mpolacek
Date: Wed Oct 9 20:58:00 2019
New Revision: 276771
URL: https://gcc.gnu.org/viewcvs?rev=276771=gcc=rev
Log:
Implement C++20 P0388R4, DR 1307, and DR 330.
This patch implements P0388R4,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
--- Comment #4 from Marek Polacek ---
Note to myself: while messing with this, perhaps implement DR 330 too for good
measure. Bug 88128.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Marek Polacek changed:
What|Removed |Added
Keywords||patch
--- Comment #3 from Marek Polacek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Bug 91364 depends on bug 91844, which changed state.
Bug 91844 Summary: Implement CWG 2352, Similar types and reference binding
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91844
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
--- Comment #1 from Marek Polacek ---
Sort of depends on CWG 2352 Similar types and reference binding which changed
the definition of "reference-related".
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91364
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
14 matches
Mail list logo