------- Comment #6 from tristan at wibberley dot org 2009-01-03 15:50 ------- Subject: Re: [4.3/4.4 regression] ICE with variadic templates partial specialization
On Sat, 2009-01-03 at 15:26 +0000, rguenth at gcc dot gnu dot org wrote: > > ------- Comment #5 from rguenth at gcc dot gnu dot org 2009-01-03 15:26 > ------- > valid or not? If so then it's a rejects-valid, otherwise it is > error-recovery. I had discussed these c++0x features in ##c++ and I came to the conclusion that it was valid code. But I'm not an expert in c++0x, I discovered this problem while experimenting when learning. It accepts the code without the nested struct, it is only with a nested struct that the code is rejected. I don't think a nested struct will make it invalid and the behaviour of ambiguity analysis with a larger example suggests the code is very carefully and consciously accepted without that struct - agreeing with my studies and conversations on IRC. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36846