• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Re[2]: GCC 3.3 template compile error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Re[2]: GCC 3.3 template compile error?
      • From: Steve Checkoway <email@hidden>
References: 
 >GCC 3.3 template compile error? (From: "Tim Conkling" <email@hidden>)
 >Re: GCC 3.3 template compile error? (From: "Clark Cox" <email@hidden>)
 >Re: GCC 3.3 template compile error? (From: "Tim Conkling" <email@hidden>)
 >Re[2]: GCC 3.3 template compile error? (From: Peter Mulholland <email@hidden>)
 >Re: Re[2]: GCC 3.3 template compile error? (From: eric b <email@hidden>)
 >Re: Re[2]: GCC 3.3 template compile error? (From: Martin-Gilles Lavoie <email@hidden>)

  • Prev by Date: Three-way merge program
  • Next by Date: Re: GDB handing when step into
  • Previous by thread: Re: Re[2]: GCC 3.3 template compile error?
  • Next by thread: Re: Re[2]: GCC 3.3 template compile error?
  • Index(es):
    • Date
    • Thread