• 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: strange compiler behavior (gcc 4.0)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange compiler behavior (gcc 4.0)


  • Subject: Re: strange compiler behavior (gcc 4.0)
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 13 Oct 2006 08:52:37 -0600
  • Thread-topic: strange compiler behavior (gcc 4.0)

> The language standard dictates this behavior. In this case, GCC is
correct,
> and VC is not. The solution it to prefix the members with the
scope (as you
> have shown) or to prefix them with "this->".


Couldn't one also use a using-declaration to bring those members into the
derived scope, and thus only make a small change to the declaration of the
template for the derived class?


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


 _______________________________________________
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

References: 
 >Re: strange compiler behavior (gcc 4.0) (From: "Clark Cox" <email@hidden>)

  • Prev by Date: Re: strange compiler behavior (gcc 4.0)
  • Next by Date: Re: strange compiler behavior (gcc 4.0)
  • Previous by thread: Re: strange compiler behavior (gcc 4.0)
  • Next by thread: Re: strange compiler behavior (gcc 4.0)
  • Index(es):
    • Date
    • Thread