From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3939 invoked by alias); 12 Aug 2002 14:13:13 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 3932 invoked from network); 12 Aug 2002 14:13:12 -0000 Received: from unknown (HELO www.fastmail.fm) (209.61.183.86) by sources.redhat.com with SMTP; 12 Aug 2002 14:13:12 -0000 Received: from www.fastmail.fm (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 722D06DC4A; Mon, 12 Aug 2002 09:13:08 -0500 (CDT) X-Epoch: 1029161588 X-Sasl-enc: TcnU3K4bYLPWNEUUpwhj8A Received: from fastmail.fm (x1-6-00-e0-81-03-b8-78.k35.webspeed.dk [62.242.176.174]) by www.fastmail.fm (Postfix) with ESMTP id 7AC0E6DC48; Mon, 12 Aug 2002 09:13:06 -0500 (CDT) Message-ID: <3D57C273.2545E424@fastmail.fm> Date: Mon, 12 Aug 2002 07:13:00 -0000 From: bjorn rohde jensen Reply-To: bjensen@fastmail.fm X-Accept-Language: en MIME-Version: 1.0 To: Rupert Wood Cc: 'Andrey Pozdeev' , gcc-help@gcc.gnu.org Subject: Re: Problem with overloaded function selection References: <616BE6A276E3714788D2AC35C40CD18D5EC576@whale.softwire.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00091.txt.bz2 Hi Rupert, Rupert Wood wrote: > > void test(A&) {} > > then the GCC problem goes away. I guess the copy construction counts as > a second conversion. Is that not just ordinary polymorphism through references, that is conversion of reference to derived to reference to base class? Yours sincerely, Bjorn