• 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: Steve Checkoway <email@hidden>
  • Date: Tue, 20 Oct 2009 20:23:33 -0700


On Oct 20, 2009, at 7:08 PM, Dan Caugherty wrote:

This is probably something very obvious, but it's eluding me. Anyone know?


Yep! It's an annoying part of C++. Someone else can quite the standard, but something about derived names that I don't care to look up at the moment.

All you need to do is change

typedef linkage<IsCPP>::function_type function_type;

to

typedef typename linkage<IsCPP>::function_type function_type;

--
Steve Checkoway




_______________________________________________ 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: Dan Caugherty <email@hidden>
References: 
 >C++ : "is not derived from type".. (From: Dan Caugherty <email@hidden>)

  • Prev by Date: build log
  • Next by Date: Re: [boost] linking on OSX
  • Previous by thread: C++ : "is not derived from type"..
  • Next by thread: Re: C++ : "is not derived from type"..
  • Index(es):
    • Date
    • Thread