Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-28 07:10:20


From: "Stewart, Robert" <stewart_at_[hidden]>
> From: Beman Dawes [mailto:bdawes_at_[hidden]]
> >
> > At 07:43 PM 2/24/2002, Jan Langer wrote:
> >
> > >>bool remove(name_t name);
> >
> > No return. Should throw if error. Other than exists(), all the free
> > functions should throw on error.
>
> I disagree. This is not such an uncommon failure; using an exception to
> report it will make code for this frequent, if not common condition, more
> awkward.

"Will make code" or "does make code" more awkward, i.e. speculation or
experience? My experience is that using exceptions for I/O errors makes code
much less awkward.


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