--- Comment #6 from Jonathan M Davis <> 2012-04-26 11:07:51 
PDT ---
> What are you referring to as "this" exactly?

This bug report. The fact that isInputRange and isForwardRange rely on
declaring variables which aren't used being legal. It would be really annoying
for unused local variables to be illegal when dealing with template constraint
stuff like isInputRange and isForwardRange. Code would have to be needlessly
contorted to deal with that fact, and you wouldn't ever get a good error about
why the result of the template was false, because it would be part of a
template constraint.

IHMO, the very issue that this bug report brings up highlights a good reason
why unused local variables should continue to be ignored by the compiler.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to