QGrpcInterceptorChain: optimize if_interceptor constraint


Instead of checking explicitly for sizeof...(Ts) > 0, split the
Ts... into T, Ts..., so matching requires at least one argument (packs
can be empty). Due to some quirks with template aliases, we need to
inject a real template entity to unpack the outer Ts... into the inner
(T, Ts...). Use a template variable for that, which is what we need
for enable_if_t, anyway.

Found in API-review.

Pick-to: 6.11
Change-Id: I356d7191194646b756c0e0c188ad5f9013878fd2
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
commita89a35517554b8eefcc6167c086b7d7ad19f3534
parentd595b669ecc02614fbc1d045c66cee18607b92f8
authorMarc Mutz <marc.mutz@qt.io>
committerDennis Oberst <dennis.oberst@qt.io>
commit timeThu, 19 Feb 2026 12:36:18 +0100