--- Comment #6 from pinskia at gmail dot com 2006-10-14 18:26 ---
Subject: Re: [DR 224] error: non-template 'pair' used as
template
On Sat, 2006-10-14 at 18:25 +, pinskia at gcc dot gnu dot org wrote:
>
> --- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-14 1
On Sat, 2006-10-14 at 18:25 +, pinskia at gcc dot gnu dot org wrote:
>
> --- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-14 18:25
> ---
> DR 224 says this is invalid code
Sorry valid code.
-- Pinski
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-14 18:25 ---
DR 224 says this is invalid code but GDR has mentioned that DR 224 is broken in
really bad way:
template struct B : T
{
void g(void) { B x; x.f(); }
}
struct A
{
void f(void) {}
}
int main(void)
{
B t;
t.
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-10-14 18:15 ---
I think this is more complicated than just DR 224.
See PR 9634.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29469
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-14 18:11 ---
(In reply to comment #2)
> The real question is avm_map dependent inside the nested class?
> I know there are C++ defect reports asking that question so ...
And that is DR 224 which is in WP.
--
http://gcc.gnu.o