https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91608
Bug ID: 91608 Summary: [10 warning] wrong comma-subscript warning Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: h2+bugs at fsfe dot org Target Milestone: --- With gcc10 and std=c++2a I am seeing error: top-level comma expression in array subscript is deprecated [-Werror=comma-subscript] on return names[meta::find_index<types, type>::value]; But that's not a top-level comma-expression. It's part of the template specialisation...