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

            Bug ID: 112473
           Summary: integer_sequence accepts non-integer types
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

>From [intseq.intseq]: Mandates: T is an integer type.

testcase:

#include <utility>

int main() {
  std::integer_sequence<std::pair<int, int>, std::pair{0, 0}> ic;
}

https://godbolt.org/z/j9h7Yr1YM

Reply via email to