[Bug c++/68588] GCC requires constexpr for template non-type parameter, even though constexpr conversion operator exists
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68588 --- Comment #1 from pkalinin --- [Attribution was incorrect, the last sentence is reworded from Columbo's answer. Sorry.]
[Bug c++/68588] New: GCC requires constexpr for template non-type parameter, even though constexpr conversion operator exists
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: petr at kalinin dot nnov.ru Target Milestone: --- Consider the following code: struct A { constexpr operator int