Boost logo

Boost :

From: Neil Groves (neil_at_[hidden])
Date: 2008-08-29 07:05:36


>
> Aren't standard containers supposed to satisfy the Range concepts? When
> the container is destroyed, its iterators are invalidated, right?
>

Yes, containers satisfy Range concepts, but this question is more related to
the opposite relationship. There is no need for a range destruction to
invalidate the iterators, and this leads to simpler code for example when
creating a temporary range to pass to a range algorithm.

Dave Abrahams
> BoostPro Computing
> http://www.boostpro.com

Neil Groves

>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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