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 c++/33940] call of overloaded 'basic_string(const<anonymous class>&)' is ambiguous for a template member function



------- Comment #1 from pcarlini at suse dot de  2007-10-29 16:28 -------
A couple of quick comments. First, there is nothing special about std::string,
the same happens with std::vector<char>, for example, because really the issue
is about multiple constructors. Second, I checked that at least 2 other
compilers + library behave the same as GCC. In short, I don't think this issue
is valid, there is a real ambiguity in the user code.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33940


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