Doesn't this perform a by-reference comparison instead of by-value?