The two ways that a dependent name will be treated as a type by the compiler are:
1. Name lookup finds a type.
2. The keyword 'typename' qualifies the type.
Reference: More Exceptional C++ by Herb Sutter. Addison-Wesley, 2001, p. 33.
Tuesday, October 19, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment