> Like this?
> 
> struct MyType(Elem)
> {
>     Elem[] inner;
>     alias inner this;
> }
> 
> void main()
> {
>     static assert(is(MyType!float _ : T[], T));
> }
> 

And how does that work for a static array?

Reply via email to