Re: vector.erase(iterator iter) will change "iter" or not?
In message
<ee7bf0ee-1e6d-4b5c-9e66-8d72052145b7@64g2000hsw.googlegroups.com>, Old
Wolf <oldwolf@inspire.net.nz> writes
>On Feb 22, 11:54 pm, Richard Herring <junk@[127.0.0.1]> wrote:
[big snip noted]
>> If it doesn't point anywhere, it points nowhere. "nowhere" looks pretty
>> invalid to me.
>
>Non-sequitur ; there are three possible states for
>pointers (or iterators): pointing to a valid object,
>null, or indeterminate.
The standard refers to this state as "[having] singular values".
>By 'anywhere' I do not
>include the indeterminate case.
But you obviously meant "not anywhere" to include singular states when
you wrote this:
>>> previously it was well-defined and now it is indeterminate! It
>>>doesn't point anywhere;
--
Richard Herring
|