Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-27 11:20:41


From: "Fernando Cacciola" <fernando_cacciola_at_[hidden]>

> > I
> > > always write:
> > > handle new_object = old_object->clone(); // can throw.
> > >
> > > So I'm usually left with only contaier-reallocations to worry about.
> >
> > That's generally expensive, but whatever floats your boat...
> >
> It's a bit expensive, true, and definitely more verbose.
> It just helps me to know that the copy does not provide the
strong-guarantee

?? all your copies had better give the strong guarantee, or they won't even
give the basic guarantee.

-----------------------------------------------------------
           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