Comment #0 by leo.labruyere — 2022-06-07T19:57:08Z
```
import std.typecons : Typedef;
import core.simd : double2;
alias fooBar = Typedef!double2;
void main()
{
fooBar foo;
}
```
The previous piece of code give the following error :
Error: expression `cast(__vector(double[2]))[nan, nan]` is not a valid template value argument
Thus, it is not possible to create Typedef on vectorial type (or struct / class with a vectorial type attribute)
Comment #1 by robert.schadek — 2024-12-01T16:40:06Z