| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
James,
Minor nit: we say "class template" when referring to the template (as opposed to instantiations of it). "Template class" is known these days as a somewhat deprecated shorthand for "template specialization". It sure does roll off the tongue more easily though. (:
Issue 1: Base classes of dependent type (or, during instantiation, of formerly-dependent type) are not searched during unqualified name lookup. (14.6.2p3)
Issue 2: Enums do not introduce a new scope; instead, enumeration constants ([e0-e3] above) are injected into the scope where the enumeration type name resides. So instead, you should use:
Thanks!
Nate _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden
| References: | |
| >referring to enum values in a template (From: Nathan Roberts <email@hidden>) | |
| >Re: referring to enum values in a template (From: James Widman <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.