c++/570: Internal error 71 with parametrised operator template

nathan@gcc.gnu.org nathan@gcc.gnu.org
Sat Nov 10 11:33:00 GMT 2001


Synopsis: Internal error 71 with parametrised operator template

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Nov 21 04:01:30 2001
State-Changed-Why:
    This appears fixed on the mainline, which reports
    incomming/570.ii: In function `int main()':
    incomming/570.ii:30: no match for `OP_plus<Vector3D, Vector3D, A, B> + 
       Vector3D&' operator
    incomming/570.ii: In function `OP_plus<TYPEA, TYPEB, A, B> operator+(const 
       TYPEA&, const TYPEB&) [with TYPEA = Vector3D, TYPEB = Vector3D]':
    incomming/570.ii:30:   instantiated from here
    incomming/570.ii:9: `A' is not a valid template argument
    incomming/570.ii:9: `B' is not a valid template argument

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=570&database=gcc



More information about the Gcc-bugs mailing list