This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with overloaded function selection
- From: bjorn rohde jensen <bjensen at fastmail dot fm>
- To: Rupert Wood <me at rupey dot net>
- Cc: 'Andrey Pozdeev' <AndreyPozdeev at rambler dot ru>, gcc-help at gcc dot gnu dot org
- Date: Mon, 12 Aug 2002 16:13:07 +0200
- Subject: Re: Problem with overloaded function selection
- References: <616BE6A276E3714788D2AC35C40CD18D5EC576@whale.softwire.co.uk>
- Reply-to: bjensen at fastmail dot fm
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