c++/2258
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Tue May 1 06:06:00 GMT 2001
The following reply was made to PR c++/2258; it has been noted by GNATS.
From: nathan@gcc.gnu.org
To: furboo@cybermesa.com, gcc-gnats@gcc.gnu.org, nathan@gcc.gnu.org
Cc:
Subject: Re: c++/2258
Date: 1 May 2001 12:58:16 -0000
Synopsis: using namespace std fails for endl in templated function
State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Tue May 1 08:58:16 2001
State-Changed-Why:
2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.def (USING_STMT): New statement node.
* cp-tree.h (USING_STMT_NAMESPACE): New macro.
* decl2.c (do_using_directive): Add USING_STMT to statement
tree. Don't emit errors when processing template decl.
* pt.c (tsubst_expr, USING_STMT case): New case.
* semantics.c (cp_expand_stmt, USING_STMT case): New case.
2001-05-01 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.ns/template17.C: New test.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2258&database=gcc
More information about the Gcc-prs
mailing list