[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-11-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|jason at gcc

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-06-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 --- Comment #7 from Jason Merrill --- Author: jason Date: Fri Jun 20 18:35:19 2014 New Revision: 211856 URL: https://gcc.gnu.org/viewcvs?rev=211856&root=gcc&view=rev Log: PR c++/59296 * call.c (add_function_candidate): Avoid special 'thi

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-06-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Jun 20 18:32:35 2014 New Revision: 211854 URL: https://gcc.gnu.org/viewcvs?rev=211854&root=gcc&view=rev Log: PR c++/59296 * call.c (add_function_candidate): Avoid special 'thi

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-06-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 --- Comment #5 from Jason Merrill --- Author: jason Date: Thu Jun 19 09:36:09 2014 New Revision: 211821 URL: https://gcc.gnu.org/viewcvs?rev=211821&root=gcc&view=rev Log: PR c++/59296 * call.c (add_function_candidate): Also set LOOKUP_NO

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-06-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Jun 19 09:34:57 2014 New Revision: 211820 URL: https://gcc.gnu.org/viewcvs?rev=211820&root=gcc&view=rev Log: PR c++/59296 * call.c (add_function_candidate): Set LOOKUP_NO_RVAL

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Jun 18 22:13:51 2014 New Revision: 211809 URL: https://gcc.gnu.org/viewcvs?rev=211809&root=gcc&view=rev Log: PR c++/59296 * call.c (add_function_candidate): Set LOOKUP_NO_RVAL

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-03-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 --- Comment #2 from Jonathan Wakely --- reduced: struct Type { void get() const& { } void get() const&& { } }; int main() { Type{}.get(); } The ambiguity happens when both overloads are const-qualified and *this is an rvalue

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2014-03-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 Jonathan Wakely changed: What|Removed |Added CC||paul at preney dot ca --- Comment #1 fr

[Bug c++/59296] [c++11] ref-qualified member function is ambiguous

2013-11-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59296 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCONF