Boost logo

Boost Users :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-08-23 18:25:33

"David Abrahams" <dave_at_[hidden]> wrote in message
> "Jonathan Turkanis" <technews_at_[hidden]> writes:
> > "David Abrahams" <dave_at_[hidden]> wrote in message
> >
> >> Jeff Holle <jeff.holle_at_[hidden]> writes:
> >
> >> No it is not. Even if you aren't throwing due to memory
> >> you could run out of memory during unwinding, when the exception
> >> copied. That leads you directly to terminate(). Do not pass Go;
> >> not collect $200.
> >
> > So basically my advice is all wrong ?
> ?? I only said Jeff was wrong.

I don't remember why I phrased it that way. I didn't think your
remarks were aimed at me.

> > If you have to embed strings, make sure all allocation takes place
> > at the time of construction, and use reference counting?
> Yes, that's right.

I remember looking at filesystem_error sometime back, and thinking 'if
Beman does it, it must be okay'. ;-) But I see it's been fixed.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at