diff options
author | Mark Mitchell <mark@markmitchell.com> | 1998-06-12 09:47:04 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1998-06-12 09:47:04 +0000 |
commit | 2a238a974bdff827ac0d0928ca9fe10ff59e683a (patch) | |
tree | e7672496825b85cd9dad0dd7a5fe954b17903b9d /gcc/f | |
parent | 77a45a2ea44010cabd700d777ac8b3557021bafa (diff) | |
download | gcc-2a238a974bdff827ac0d0928ca9fe10ff59e683a.zip gcc-2a238a974bdff827ac0d0928ca9fe10ff59e683a.tar.gz gcc-2a238a974bdff827ac0d0928ca9fe10ff59e683a.tar.bz2 |
class.c (instantiate_type): Don't treat template-ids that don't specify any template arguments as...
* class.c (instantiate_type): Don't treat template-ids that don't
specify any template arguments as equivalent to ordinary
identifiers. Use OFFSET_REF instead of SCOPE_REF to refer to
pointer-to-members for member templates. Tidy slightly.
* cp-tree.def (TEMPLATE_ID_EXPR): Revise documentation.
* init.c (build_offset_ref): Handle template-ids like ordinary
identifiers, for the most part, but store a TEMPLATE_ID_EXPR in the
offset part of the OFFSET_REF.
* typeck.c (build_unary_op): Change check for unknown types to
look for OFFSET_REFs, not SCOPE_REFs.
From-SVN: r20442
Diffstat (limited to 'gcc/f')
0 files changed, 0 insertions, 0 deletions