Why doesn't an if constexpr make this core constant expression error dissappear? – stackoverflow.com

In reference to this question. The core constant expression that is used to initialize the constexpr variable y is ill-formed. So much is a given. But if I try to turn the if into an if constexpr: ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why doesn't an if constexpr make this core constant expression error dissappear? – stackoverflow.com"