Boost logo

Boost :

Subject: Re: [boost] [system][filesystem v3] Question abouterror_code arguments
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2009-10-28 10:54:17

On Wed, Oct 28, 2009 at 8:47 AM, Stewart, Robert <Robert.Stewart_at_[hidden]> wrote:

>  Until one understands the language well enough, and has been programming long enough, one can't judge the relative merits of return codes and exceptions to make a wise choice.

I understand the language pretty well, and have definitely been
programming long enough, and I still argue with myself what way is
best. And I suspect, in some zen-like way, this means I've reached,
uhh... error handling nirvana? Unfortunately.

> In Boost, lacking any coding guidelines for error handling, you can expect different libraries to follow different philosophies.  In the C++ standard, you should expect consistency throughout.

Since Boost attempts to be "possibly standard", I suppose we should
attempt to be consistent?


Boost list run by bdawes at, gregod at, cpdaniel at, john at