On Sun, Dec 27, 2009 at 7:35 PM, Piotr Rak <[email protected]> wrote: > Hi, > > I've not followed changes in clang recently, thus not I am not sure if > it is quite correct. > This one allows compile <tr1/unordered_map> header from gcc-4.1.2.
I think the code is invalid. In the given testcase, "typename B::type" isn't a dependent name because "B" refers to the current instantiation (in the sense of [temp.dep.type]). Therefore, it must be resolved immediately. That said, the standard could be clearer... -Eli _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
