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

            Bug ID: 99594
           Summary: Parameter packs not expanded in lambda requires clause
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hewillk at gmail dot com
  Target Milestone: ---

Same form with PR 99583, this code should work:

template <bool... B>
auto f() {
  ([](auto) requires (B) {}, ...);
}

(goldbot: https://godbolt.org/z/jdn4je)

Reply via email to