Yes, element wise, why anything else? Different lengths are not equal; if capacity is externally visible, then that needs to be part of the compare.
As far as the whole ownership issue, that's a bit more than just ==, isn't it? Equality was the only thing I was questioning.