|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2001-04-05 13:10:15
----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>
> > What are the exception-safety problems that you allude to?
>
> See my other post.
Okay, you have a point...
I think the problem you mention can come up in so many other ways that it's
worthwhile asking users to understand its source, but your non-const ref
idiom will certainly stop a great number of abuses.
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk