[Bug libstdc++/14419] Request clarification of ambiguous overload error.
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 3 22:49:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list