-1999-06-14 Martin von Löwis <loewis@informatik.hu-berlin.de>
-
- * pt.c (tsubst_friend_function): Push into namespace of friend
- function before pushdecl'ing it.
-
1999-06-14 Nathan Sidwell <nathan@acm.org>
* call.c (build_new_op): Remove REF_BIND from all operands.
tree old_decl;
tree new_friend_template_info;
tree new_friend_result_template_info;
- tree ns;
int new_friend_is_defn;
/* We must save some information from NEW_FRIEND before calling
new_friend_result_template_info = NULL_TREE;
}
- /* Inside pushdecl_namespace_level, we will push into the
- current namespace. However, the friend function should
- tyically go into the namespace of the template. */
- ns = decl_namespace_context (new_friend);
- push_nested_namespace (ns);
old_decl = pushdecl_namespace_level (new_friend);
- pop_nested_namespace (ns);
if (old_decl != new_friend)
{