On Wed, 30 Aug 2006, Peter Kümmel wrote:

std::vector::end() returns an iterator that
points just beyond the end of the vector.

So &*thin->end() is no valid code, because
it is a out of bound access.

std::vector::back() returns a reference to
the last element and a pointer to the last
element is: &back().

Did this cause a problem for you?

I wonder what implementation of vector where
  &*this->end() != &back()+1
_______________________________________________
Aspell-devel mailing list
Aspell-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/aspell-devel

Reply via email to