https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124269

            Bug ID: 124269
           Summary: [CWG 1407] Integral to bool conversion in converted
                    constant expressions
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

Per CWG 1407, this example is ill-formed:

```
template<bool> struct S { };
S<0> s;
```

but we accept it.  Explanation in the core issue.

Reply via email to