comment
authorJason Merrill <jason@gcc.gnu.org>
Thu, 14 Dec 2000 19:31:49 +0000 (14:31 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 14 Dec 2000 19:31:49 +0000 (14:31 -0500)
From-SVN: r38258

gcc/cp/pt.c

index 87d4195b3175da953e435beca08f0cfdad497a58..a4463ebe48b3705852ac5719c75736022d5fda82 100644 (file)
@@ -5788,6 +5788,9 @@ tsubst_decl (t, args, type, in_decl)
            maybe_retrofit_in_chrg (r);
            if (DECL_CONSTRUCTOR_P (r))
              grok_ctor_properties (ctx, r);
+           /* If this is an instantiation of a member template, clone it.
+              If it isn't, that'll be handled by
+              clone_constructors_and_destructors.  */
            if (PRIMARY_TEMPLATE_P (gen_tmpl))
              clone_function_decl(r, /*update_method_vec_p=*/0);
          }