Boost logo

Boost :

From: Gavin Lambert (boost_at_[hidden])
Date: 2019-06-27 07:33:22


On 27/06/2019 19:06, degski wrote:
> Yes, but std::swap must also not invalidate any references, pointers, or
> iterators referring to the elements of the containers being swapped, which
> leaves the scope for throwing rather small [if at all possible].

Are you sure about that?

Perhaps it is a failure of my imagination (or I'm misunderstanding what
you're saying), but that doesn't even seem possible.


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