https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81157
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |ppalka at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> --- Agreed. If you need short-circuiting evaluation inside a constexpr if, just encode the condition as a nested-requirement: if constexpr (requires { requires IsContainer<V> && Same<typename V::innerType, int>; }) ...