Commit 4f71f630 by Mark Mitchell Committed by Mark Mitchell

cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template parameters as having namespace scope.

	* cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template
	parameters as having namespace scope.

From-SVN: r30097
parent 7978192f
1999-10-20 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (DECL_NAMESPACE_SCOPE_P): Don't treat template
parameters as having namespace scope.
1999-10-19 Mark Mitchell <mark@codesourcery.com> 1999-10-19 Mark Mitchell <mark@codesourcery.com>
* method.c (PARM_CAN_BE_ARRAY_TYPE): Remove. * method.c (PARM_CAN_BE_ARRAY_TYPE): Remove.
......
...@@ -1766,9 +1766,9 @@ struct lang_decl ...@@ -1766,9 +1766,9 @@ struct lang_decl
#define DECL_VIRTUAL_CONTEXT(NODE) DECL_CONTEXT (NODE) #define DECL_VIRTUAL_CONTEXT(NODE) DECL_CONTEXT (NODE)
/* 1 iff NODE has namespace scope, including the global namespace. */ /* 1 iff NODE has namespace scope, including the global namespace. */
#define DECL_NAMESPACE_SCOPE_P(NODE) \ #define DECL_NAMESPACE_SCOPE_P(NODE) \
(DECL_CONTEXT (NODE) == NULL_TREE \ (!DECL_TEMPLATE_PARM_P (NODE) \
|| TREE_CODE (DECL_CONTEXT (NODE)) == NAMESPACE_DECL) && TREE_CODE (CP_DECL_CONTEXT (NODE)) == NAMESPACE_DECL)
/* 1 iff NODE is a class member. */ /* 1 iff NODE is a class member. */
#define DECL_CLASS_SCOPE_P(NODE) \ #define DECL_CLASS_SCOPE_P(NODE) \
......
// Build don't link:
// Special g++ Options: -g
// Origin: Jim Wilson <wilson@cygnus.com>
template<template<class> class _Oper,
template<class, class> class _Meta1,
template<class, class> class _Meta2,
class _Dom1, class _Dom2> class _BinClos;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment