Rob Jacques <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from Rob Jacques <> 2009-10-13 10:21:10 PDT ---
This issue causes major issues with Nd-array and Small Vector implementations,
as the incorrect type signatures play havoc with other templated functions.
Here is another test case illustrating the problem:

import std.stdio;
struct Matrix(T,size_t D) {
    Matrix!(U,D) foo(U)(U v) { return Matrix!(U,D)(); }

void main() {
    real r;
    size_t d = 2;
    Matrix!(float,2) m;
    writeln(typeof( ).stringof);            //writes Matrix(float,D)
    Matrix!(float,d) n;
    writeln(typeof( n ).stringof);                   //writes Matrix(float,d)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to