 <p>All the snippets of code access data that has been deleted, which has no defined behavior. Therefore, any further assumption is meaningless and left to the single case. Whether you're accessing a <code>vector</code>, <code>char*</code>, <code>string</code> there's no difference: it's always the same violation.</p>