Interceptors: make type traits lazy and hide SFINAE helpers
Replace eager contains*() checks with trait types and implement
`is_interceptor` via std::conjunction/std::negation to enable proper
short-circuiting.
Change if_interceptor to accept an arbitrary number of arguments so
it covers both usecases.
Found during the Qt 6.11 API review.
Pick-to: 6.11
Change-Id: I97d162b94277f6632fe46aabc6b70d1259c7dca3
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
| commit | b81b8f160a225ece1fc17b023c110877bf95ccca |
| parent | 9dc4134680323f5abc0c8606d5c025f96f478e85 |
| author | Dennis Oberst <dennis.oberst@qt.io> |
| committer | Dennis Oberst <dennis.oberst@qt.io> |
| commit time | Wed, 18 Feb 2026 23:19:24 +0100 |