This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/1981
- To: nathan at gcc dot gnu dot org
- Subject: Re: c++/1981
- From: nathan at gcc dot gnu dot org
- Date: 1 Mar 2001 14:16:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: nathan at gcc dot gnu dot org
The following reply was made to PR c++/1981; it has been noted by GNATS.
From: nathan@gcc.gnu.org
To: Sylvain.Pion@sophia.inria.fr, gcc-gnats@gcc.gnu.org, nathan@gcc.gnu.org
Cc:
Subject: Re: c++/1981
Date: 1 Mar 2001 14:10:56 -0000
Synopsis: using declarations in function templates
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Thu Mar 1 06:10:56 2001
State-Changed-Why:
2001-03-01 Nathan Sidwell <nathan@codesourcery.com>
Implement using decls inside template functions.
* decl2.c (validate_nonmember_using_decl): Don't special case
fake_std_node in the global namespace. Don't reject early when
processing a template.
(do_local_using_decl): Add to statement tree. Don't do further
processing when building a template.
* pt.c (tsubst_expr, DECL_STMT case): Deal with USING_DECLs.
2001-03-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.pt/using1.C: New test.
committed to mainline and 3.0 branch
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1981&database=gcc