[Bug c++/11765] typecast vs. constructor ambiguity
dhazeghi at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Sun Aug 24 17:18:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11765
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|i386-portbld-freebsd5.1 |
GCC host triplet|i386-portbld-freebsd5.1 |
GCC target triplet|i386-portbld-freebsd5.1 |
Last reconfirmed|2003-08-23 15:28:46 |2003-08-24 17:18:58
date| |
------- Additional Comments From dhazeghi at yahoo dot com 2003-08-24 17:18 -------
Mainline (20030817) still gives:
foo.cc:13: error: call of overloaded `X(Y&)' is ambiguous
foo.cc:2: note: candidates are: X::X(const X&)
foo.cc:3: note: X::X(int)
Has it been determined whether the code is valid or not?
More information about the Gcc-bugs
mailing list