If, for a given set of template arguments, a specialization of a template is
instantiated that refers to a member of the current instantiation with a
qualified-id or class member access expression, the name in the
qualified-id or class member access expression is looked up in the
template instantiation context
.