Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-10-13 12:21:11


Terje Slettebø <tslettebo_at_[hidden]> writes:

> I didn't mean to present it as an argument for const temporaries. I merely
> pointed out that doing --c.end() is inherently unsafe, unless you know how
> the iterator is implemented, on all the platforms you use it.

I see how it's non-portable, but unsafe? How so?

-- 
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk