Boost logo

Boost :

From: williamkempf_at_[hidden]
Date: 2001-09-01 17:39:32


--- In boost_at_y..., "Gustavo Guerra" <gustavobt_at_m...> wrote:
> > > There's no mention of thread_resource_error in the docs. Why
> > doesn't both
> > > the exception classes have a 'what' member function?
> >
> > I goofed with the docs for thread_resource_error and will add it
this
> > weekend, hopefully. Both exception classes do have 'what' member
> > functions, documented indirectly in the synopsis which shows they
> > both derive from std::runtime_error. I probably should explicitly
> > document this, though.
> >
>
> What I meant is why don't they have their own what member,
different from
> std::runtime_error.

What is a virtual, so I don't follow what you mean by "have their own
what member". If you mean the text returned is different, this is
the case.

Bill Kempf


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