diff options
| author | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-28 14:05:29 +0000 |
|---|---|---|
| committer | dgregor <dgregor@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-28 14:05:29 +0000 |
| commit | 82d3176811cd4607aa49b4c80a48ea3898bb6c4f (patch) | |
| tree | c72b508351bff91028912e57668dee64204baa72 /libjava/classpath/java/net/URLStreamHandler.java | |
| parent | 41b0d74f235b795428826c3b92c56c39ed01211e (diff) | |
| download | ppe42-gcc-82d3176811cd4607aa49b4c80a48ea3898bb6c4f.tar.gz ppe42-gcc-82d3176811cd4607aa49b4c80a48ea3898bb6c4f.zip | |
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* decl.c (redeclaration_error_message): Complain when redeclaring
a friend function with default template arguments (C++0x mode only).
* cp-tree.h (check_default_tmpl_args): Declare.
* pt.c (check_default_tmpl_args): In C++0x mode, permit default
template arguments in function templates. Add support for checking
the default template arguments of friend templates.
(push_template_decl_real): Fix call to check_default_tmpl_args.
(type_unification_real): If a template parameter has not been
deduced but provides a default template argument, substitute into
that default template argument.
* parser.c (cp_parser_init_declarator): When declaring (but not
defining!) a function template in C++0x mode, check for default
template arguments.
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/cpp0x/temp_default1.C: New.
* g++.dg/cpp0x/temp_default3.C: New.
* g++.dg/cpp0x/temp_default2.C: New.
* g++.dg/cpp0x/temp_default4.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/net/URLStreamHandler.java')
0 files changed, 0 insertions, 0 deletions

