On Fri, Sep 30, 2011 at 11:06 AM, Andrew Sutton <asutton.list@gmail.com> wrote:
> You can't equally-compare a singular iterator.

Why not? Isn't an object equal to itself?


There's nothing in the standard to say that an uninitialized variable must be equal to itself.

Especially since the standard states that the only defined operation on a singular iterator is ... assignment.


If a clever compiler computed the lifespan of all memory usage, is there anything in the standard which would keep it from using the memory of Singular Iterators as temporary storage? Or randomly bit-twiddling the bits in them while they are Singular?