Subject: Re: [boost] [system][filesystem v3] Question about error_code arguments
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2009-10-28 10:46:12
On Tue, Oct 27, 2009 at 8:32 PM, Domagoj Saric <dsaritz_at_[hidden]> wrote:
> "Beman Dawes" <bdawes_at_[hidden]> wrote in message
> i just wanted to make a proposal on a very related subject (an
> expension/generalization of the [system] error_code concept) so i'll post it
> here instead of starting a new thread:
> one of the 'selling points' of exceptions is that they, unlike error return
> codes, cannot be (unintentionally) ignored/forgotten...
> well...we could 'smarten' our error codes into error objects that 'complain' if
> they were not 'inspected' before they are destroyed...
> ...the 'complaint' method can be made a matter of policy...assert, throw, log
Meyers or Alexandrescu or ___? proposed something similar once. Yet I
can't find the article...