This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,implementing the resolution seems rather straightforward, just check LOOKUP_ONLYCONVERTING in standard_conversion. However, while playing with some additional tests outside bug & testsuite (similar to nullptr32.C), I noticed a latent issue: in case of base initializers we were setting anyway LOOKUP_ONLYCONVERTING in add_function_candidate (the other cases listed in 8.5/16 are handled elsewhere and seem all fine). Thus the rather ad-hoc-ish tweak there: I spent some time on it and couldn't find anything reasonably simple & better, appears to work anyway, for templates too.
Tested x86_64-linux. Thanks, Paolo. //////////////////////////
Attachment:
CL_52174
Description: Text document
Attachment:
patch_52174
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |