Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2006-06-25 11:38:12

"Beman Dawes" wrote:

> There is an early version of Boost.System stuff in the vault. Go to the
> System directory at for
> The preliminary error_code/system_error docs can be viewed online at

The catch (...) in what() doesn't make much sense
- the app would be likely terminated at the moment.
A fixed size char[] array could be used w/o danger
of throwing (as it is in STLport).

Perhaps individual, platform dependent exceptions
for relevant errors would be even more handy for users, ala:

class system_error_ERROR_WRITE_PROTECT : public system_error

Number of such miniclasses would be limited, the classes could
be added as needed, fallback will always exist
Portable applications would use only the base.

The few classes where the error means the same on all platforms
could have common parent.

In process_exec.hpp two handles leak
if timeout expires. The thread handle could
be closed immediatelly after process starts.


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