From: Yitzhak Sapir (yitzhaks_at_[hidden])
Date: 2002-10-13 07:17:42
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()) ?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk