------- Comment #2 from crowl at google dot com 2009-08-12 18:42 ------- It looks like the compiler is not properly handling injected class names. The original example was not the best use of the injected class name, but should be accepted. Jonathan's example is better code, and still shows the problem.
The workaround is to drop the qualifier. Since the base is public, its member will be found. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41038