From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27935 invoked by alias); 3 Mar 2004 22:49:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27924 invoked by uid 48); 3 Mar 2004 22:49:31 -0000 Date: Wed, 03 Mar 2004 22:49:00 -0000 Message-ID: <20040303224931.27923.qmail@sources.redhat.com> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040303215240.14419.alriddoch@zepler.org> References: <20040303215240.14419.alriddoch@zepler.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libstdc++/14419] Request clarification of ambiguous overload error. X-Bugzilla-Reason: CC X-SW-Source: 2004-03/txt/msg00511.txt.bz2 List-Id: ------- 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