This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
If I do what you suggest, at #1, S<T>::M<U*> is considered to be an explicit specialization of M with S<T> being an implicit instantiation of S, because context != DECL_CONTEXT (gen_tmpl) is verified as the lookup of S<T> produces a type.
CLASS_TYPE_P (context) && !same_type_p (context, DECL_CONTEXT (gen_tmpl))
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |