c++/6337: Fails to distinguish between operator[](int) and operator T*().

nathan@gcc.gnu.org nathan@gcc.gnu.org
Sun Sep 15 05:31:00 GMT 2002


Synopsis: Fails to distinguish between operator[](int) and operator T*().

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Sun Sep 15 05:29:22 2002
State-Changed-Why:
    not a bug. The choice is between
           int & operator[] (1, a.operator int *());
           int & a.operator[] (unsigned (1))
    which are ambiguous

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



More information about the Gcc-bugs mailing list