C++ typedef redefinitions and templates
Jens Maurer
jmaurer@menuett.rhein-main.de
Sun Mar 5 15:34:00 GMT 2000
"Martin v. Loewis" wrote:
>
> > This is in violation of ISO C++ section 7.1.3/2 [dcl.typedef]. In this case,
> > it is not known until template instantiation time whether the code is legal
> > or not.
>
> Thanks for your bug report. I've put it into GNATS.
An additional note: There may be a defect report with the C++ committee
which would forbid repeated typedef's in classes so that the current gcc
behaviour would be correct.
Jens Maurer
More information about the Gcc-bugs
mailing list