------- Comment #6 from Ralf dot Wildenhues at gmx dot de  2008-01-29 17:25 
-------
Created an attachment (id=15050)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15050&action=view)
reduced testcase
t.5.ii: In function ‘int main()’:
t.5.ii:14: error: ambiguous overload for ‘operator==’ in ‘c == p’
t.5.ii:14: note: candidates are: operator==(X, X) <built-in>
t.5.ii:14: note:                 operator==(int, int) <built-in>
t.5.ii:14: note:                 operator==(X, X) <built-in>
t.5.ii:7: note:                 bool coEnum<e1, e2>::operator==(coEnum<e1, e2>)
const [with e1 = A, e2 = X]


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26278

Reply via email to