Re: Re[2]: GCC 3.3 template compile error?
Re: Re[2]: GCC 3.3 template compile error?
- Subject: Re: Re[2]: GCC 3.3 template compile error?
- From: Steve Checkoway <email@hidden>
- Date: Mon, 15 Oct 2007 19:28:03 -0700
On Oct 15, 2007, at 11:04 AM, Martin-Gilles Lavoie wrote:
where a base class shared by two subclasses has a method taking a
list<foo> parameter by reference. The superclass method couldn't be
accessed by either of the subclassee when passing the return of
subclass method as parameter. It just wouldn't compile with the
compiler complaining about not having an implementation for the
called superclass method, then went on listing two possible matches;
one of which was the right method.
I tried to duplicate this, but I must admit, I don't follow what
you're doing. You have a base class that has a member function which
has a reference to a list<foo> as its parameter. Is foo something
fixed (int, float, struct bar, etc.) or is it a template parameter?
What does, "The superclass method couldn't be accessed by either of
the subclasses when passing the return of the subclass method as
parameter" mean?
Can you give sample code exhibiting the problem?
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden