This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/14419] Request clarification of ambiguous overload error.


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]