Notes from C++ static analysis
Walter Bright
newshound2 at digitalmars.com
Wed Jun 26 20:36:03 PDT 2013
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.
More information about the Digitalmars-d
mailing list