On 03/14/2011 01:12 PM, Alan Conway wrote:
In general end() is not thread safe or constant. If you are using plain pointers as iterators over a C array, then end() is a pointer to one place after the last element of the array and changes if the array size changes. Probably many std container iterator implementations do something similar to keep the arithmetic simple.
I no longer rely on that behaviour in the latest patch, and I stand corrected :-)
Carl. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
