https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69009
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Dropping "volatile" here "solves" the issue: template <class T> auto const tuple_size_v<T const volatile> = tuple_size_v<T>;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69009
--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Dropping "volatile" here "solves" the issue: template <class T> auto const tuple_size_v<T const volatile> = tuple_size_v<T>;