[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-12-23 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-23 19:54 --- Subject: Bug 17413 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-23 19:54:09 Modified files: gcc/testsuite : ChangeLog gcc/cp : C

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-12-23 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-12-23 19:50 --- The code in the PR is clearly invalid, as it explicitly uses a local class as an explicit template arugment. However, the broader question is how to perform overload resolution when argument deduction has

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-12-23 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-12-23 18:25 --- The patch is the previous comment does not actually apply to this PR. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17413

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-12-21 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-22 03:35 --- Subject: Bug 17413 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2004-12-22 03:34:59 Modified files: gcc/cp : ChangeLog call.c decl.c parser.c tree

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-12-12 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Priority|P2 |P3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17413

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-10-12 Thread gdr at cs dot tamu dot edu
--- Additional Comments From gdr at cs dot tamu dot edu 2004-10-12 18:51 --- Subject: Re: [3.4/4.0 regression] local classes as template argument "mmitchel at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: [...] | Consider: | | template | void f(T *); | | void g() { | s

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-10-12 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-12 16:13 --- As in the discussion of DR 415, it's not feasible to postpone all error messages until overload resolution has succeeded. The example in DR 415 is that you might need to instantiate a class type to do type

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-10-12 Thread gdr at cs dot tamu dot edu
--- Additional Comments From gdr at cs dot tamu dot edu 2004-10-12 09:55 --- Subject: Re: [3.4/4.0 regression] local classes as template argument "mmitchel at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | The bug here is that we are checking complain at all. | | SFINAE does not s

[Bug c++/17413] [3.4/4.0 regression] local classes as template argument

2004-10-11 Thread mmitchel at gcc dot gnu dot org
--- Additional Comments From mmitchel at gcc dot gnu dot org 2004-10-12 06:46 --- The bug here is that we are checking complain at all. SFINAE does not say that when given a set of overload candidates you perform type deduction and then discard any candiates for which an any error occur