This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33940] call of overloaded 'basic_string(const<anonymous class>&)' is ambiguous for a template member function
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Oct 2007 16:28:29 -0000
- Subject: [Bug c++/33940] call of overloaded 'basic_string(const<anonymous class>&)' is ambiguous for a template member function
- References: <bug-33940-13880@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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