On Sunday, 10 October 2021 at 15:01:17 UTC, Elmar wrote:

```d
enum isPointedStaticArray(T) = is(PointerTarget!T : P[N], P, size_t N);
```

```d
enum isPointedStaticArray(X : P*, P) = .isStaticArray!(PointerTarget!X);
```


`isStaticArray` is a good example that makes me ask how to outline an `is()` expression without losing the error catching semantics of the inlined `is()` expression.

Reply via email to