On 6/26/2013 12:03 PM, H. S. Teoh wrote:
But yeah, that's bad practice and the compiler should warn about it. The reason it doesn't, though, IIRC is because of generic code, where it would suck to have to special-case when two template arguments actually alias the same thing.
It can also occur in machine-generated code, such as what mixin's do.