From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-08-30 01:56:24
----- Original Message -----
From: "Vesa Karvonen" <vesa.karvonen_at_[hidden]>
> > Alignment & exception safety are somewhat at odds.
> ^ with each other?
> Could you elaborate?
> > For instance, if I have a
> > variants a and b and I want to swap them, it is tough (maybe
> > do this in an exception-safe manner for pathological types.
What you're referring to isn't "exception-unsafe", unless these types are so
pathological as to have unsafe copy constructor and assignment. I think you
mean that swap will give only the basic guarantee for some types.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk