Boost logo

Boost :

From: Joe Gottman (jgottman_at_[hidden])
Date: 2002-10-13 18:39:27

"Terje Slettebø" <tslettebo_at_[hidden]> wrote in message
>From: "Yitzhak Sapir" <yitzhaks_at_[hidden]>

>On Sun, 13 Oct 2002, [iso-8859-1] Terje Slettebø wrote:

>As I understand, the only thing you can safely do with an end() iterator is
>to compare it with other iterators.

   If operator-- is defined on an iterator, and begin() != end(), then it is
also safe to decrement an iterator that is equal to end().
reverse_iterators depend on this fact. This is why rbegin().base() ==

Joe Gottman

Boost list run by bdawes at, gregod at, cpdaniel at, john at