Debian Codegraph @

tests/dmd/runnable/imports/link11069z.d

raw
1 module imports.link11069z;
2 struct Matrix(T, uint _M)
3 {
4 int opCmp()(const auto ref Matrix b) const
5 {
6 return 0;
7 }
8
9 pure auto opDispatch(string s)()
10 {
11 enum L = s.length;
12 Matrix!(T, L) ret;
13 return ret;
14 }
15
16 pure Matrix normalized()
17 {
18 return Matrix();
19 }
20 }
21
22 alias Matrix!(float, 2) Vector2;