https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92338
Mick P. <mick.pearson at wildblue dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|INVALID |FIXED --- Comment #6 from Mick P. <mick.pearson at wildblue dot net> --- Should this compile? I mean if it's ambiguous then it should convert the double to an int. {{{ struct Test { //operator int(){ return 0; } operator double(){ return 0; } }; int main() //... }}}