Boost logo

Boost :

From: Eric Woodruff (Eric.Woodruff_at_[hidden])
Date: 2002-10-13 10:34:41

I think it's undefined to do anything with end besides comparison to it for
the most part.

"Yitzhak Sapir" <yitzhaks_at_[hidden]> wrote in message

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

> >Fwiw, I've used --c.end() and am not sorry for it! :-)
> If you do that on Intel C++ and STLPort for e.g. c=std::string, you get a
> compile-time error, as c.end() is not a modifiable lvalue. :) In other
> words, whether or not that work depends on the platform, and is therefore
> not portable.

What about boost::prior(c.end()) ?

Unsubscribe & other changes:

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