• 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: C++ : "is not derived from type"..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ : "is not derived from type"..


  • Subject: Re: C++ : "is not derived from type"..
  • From: Dan Caugherty <email@hidden>
  • Date: Wed, 21 Oct 2009 09:16:00 -0400

Thanks Steve!

But oh that's just not annoying, it's weird. It seems to me that  the
compiler is recognizing the linkage<> type in the global namespace (as
it was defined just a few short lines earlier), but it still needs the
containing class to hoodwink it with the typename keyword.

I will most definitely want to read the rationale for this. Anyone
else know where I can find a suitable explanation?

Thx again,
-- Dan C.

On Tue, Oct 20, 2009 at 11:23 PM, Steve Checkoway <email@hidden> wrote:
>
> All you need to do is change
>
> typedef linkage<IsCPP>::function_type function_type;
> to
> typedef typename linkage<IsCPP>::function_type function_type;
 _______________________________________________
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: C++ : "is not derived from type"..
      • From: David Rowland <email@hidden>
    • Re: C++ : "is not derived from type"..
      • From: Markian Hlynka <email@hidden>
References: 
 >C++ : "is not derived from type".. (From: Dan Caugherty <email@hidden>)
 >Re: C++ : "is not derived from type".. (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: IB 3.2.x bringing back IB (only) edit of outlets and actions?
  • Next by Date: Re: IB 3.2.x bringing back IB (only) edit of outlets and actions?
  • Previous by thread: Re: C++ : "is not derived from type"..
  • Next by thread: Re: C++ : "is not derived from type"..
  • Index(es):
    • Date
    • Thread