Andre Poenitz wrote:

> a[-1] is  *(a - 1), so this dereferences a pointer not pointing into the
> array. This is undefinied behaviour.

Ok, we have a confirm that you all know how to burn a dead tree ;-> 
I have admitted (ages ago) that it's not what the standards say. The
flamewar continued because I maked the (irrelevant) remark that it works an
will work probably ever, as long as iterators for vectors are merely
pointers. 

Save the woods! ;)

Alfredo


Reply via email to