This is the mail archive of the gcc-help@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]

Re: Problem with overloaded function selection


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


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