This is the mail archive of the
mailing list for the GCC project.
Re: Warnings in templates
Mark Mitchell <firstname.lastname@example.org> writes:
| There are cases (like an "expression has no effect" warning in a
| template on the statement "3;") that we could issue with zero false
| positives in a template, and issuing those make sense to me. If we're
| not sure, we can defer the warning until instantiation time. I think
| things where we can't avoid false positives should be deferred until
| instantiation time.