https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966
Eelis changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966
Richard Smith changed:
What|Removed |Added
CC||richard-gccbugzilla@metafoo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966
--- Comment #4 from Ville Voutilainen ---
Note that clang also triggers the static_assert, so there might be something
deeper going on here. :)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966
Ville Voutilainen changed:
What|Removed |Added
CC||jason at redhat dot com,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966
--- Comment #2 from Eelis ---
The testcase was a minimized version of the (imho innocuous looking):
#include
#include
template
std::ostream & operator<<(std::ostream &, std::variant const &);
int main() { std::cout << std::endl; }
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966
--- Comment #1 from Andrew Pinski ---
There is to check if there is a constructor which converts X. There might
be a C++ Defect report about this case too.