Common V3 coding bug

Mark Mitchell mark@codesourcery.com
Wed Jul 18 00:22:00 GMT 2001


> why? ok I know it's not a c++ language list but IMHO the above is valid

A<T> is a dependent type, and name lookup does not look in dependent types.
To see why this makes sense, imagine a specialization of `A' that didn't 
have a data member named `i'.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Libstdc++ mailing list