[Bug c++/102157] floating-integral conversions is not permitted in the user-defined conversion sequence in converted constant expression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102157 --- Comment #2 from jim x --- bind the temporary is permitted here to me. Since the template parameter is not a reference type, there is no restriction on whether a temporary object is generated in the implicit conversion.
[Bug c++/102157] floating-integral conversions is not permitted in the user-defined conversion sequence in converted constant expression
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102157 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0