This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14419] Request clarification of ambiguous overload error.
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2004 22:49:31 -0000
- Subject: [Bug libstdc++/14419] Request clarification of ambiguous overload error.
- References: <20040303215240.14419.alriddoch@zepler.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-03-03 22:49 -------
I don't want to close this PR so quickly. I looked at it, too, and the
point I see is that there is a conversion operator that converts
the object to something that exactly matches the arguments of one
of the constructors of std::string. On the other hand, the two other
cited constructors need an additional conversion from int to char or
from bool to char. The fact that the first is not taken seems at least
confusing to me as well, so I'd like that this is settled by citing the
relevant parts of the standard.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14419