diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-01 02:51:13 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-01 02:51:13 +0000 |
| commit | aa32d2583338185ce89416eb674c040880779c99 (patch) | |
| tree | 8e110d0cc4538c8628120bf35b2a3d236919c224 /libjava/include | |
| parent | 19160d6035c93835c4a588414589405145b1b871 (diff) | |
| download | ppe42-gcc-aa32d2583338185ce89416eb674c040880779c99.tar.gz ppe42-gcc-aa32d2583338185ce89416eb674c040880779c99.zip | |
PR c++/25342
* cp-tree.h (DECL_TEMPLATE_SPECIALIZATIONS): Revise
documentation.
* pt.c (determine_specialization): Use INNERMOST_TEMPLATE_PARMS,
not TREE_VALUE.
(instantiate_class_template): Simplify.
(verify_class_unification): Remove.
(unify): Document parameters. Use INNERMOST_TEMPLATE_ARGS to
permit multiple levels of template arguments.
(more_specialized_class): Simplify.
(get_class_bindings): Pass full arguments to unify. Fold
verify_class_unification into this function. Return full
arguments.
(most_specialized_class): Adjust for changes to
get_class_bindings. Issue errors here for ambiguity. Return the
fully deduced arguments for the most specialized class, in
addition to the partial specialization.
PR c++/25342
* g++.gd/template/partial4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110466 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/include')
0 files changed, 0 insertions, 0 deletions

