something like this: void foo(T : A[], A)(auto ref T arg) if(is(A == float)) { ... }
Array may be static or dynamic. But the length of the array must be 16 or 32. How can i test length value?
something like this: void foo(T : A[], A)(auto ref T arg) if(is(A == float)) { ... }
Array may be static or dynamic. But the length of the array must be 16 or 32. How can i test length value?