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] |
Jon's earlier patch expanded our existing implicit move semantics support to allow other types, but this testcase demonstrates a hole in that support: it didn't affect function template argument deduction. Rather than try to tweak deduction as well as reference binding, this patch actually does overload resolution twice, as specified in the standard. Tested x86_64-pc-linux-gnu, applying to trunk.
Attachment:
80452.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |