|
Boost : |
Subject: Re: [boost] [AFIO] Review (or lack of it)
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2015-08-28 02:43:14
Am 28.08.2015 8:30 vorm. schrieb "Roland Bock" <rbock_at_[hidden]>:
>
> On 2015-08-28 04:28, Niall Douglas wrote:
> > On 27 Aug 2015 at 12:54, Roland Bock wrote:
> >
> >
> >> * I doubt that std::cerr should be in this library's code.
> > Use of std::cerr is only when something truly unusual occurs, like we
> > are about to fatal exit the process and I would assume the user would
> > like to know why we just called std::terminate. Or we are about to
> > deadlock, and again the user probably wants to know why their
> > application has just hanged itself.
> Quite a few applications turn off or ignore std::cerr.
> At least given users the option to provide their own reporting function
> for emergencies.
Isn't that exactly what exceptions are for?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk