|
Boost : |
Subject: Re: [boost] [system][filesystem v3] Question about error_codearguments
From: Sylvester-Bradley, Gareth (Gareth.Sylvester-Bradley_at_[hidden])
Date: 2009-10-29 07:10:45
> > "4 Destructor operations defined in the C++ standard library
> > shall not throw exceptions. "
>
> A library should either throw when the error is detected or not. If it
> doesn't, the user might still throw, but the *library* throwing later
> seems a very bad idea. Not to mention the issue that throwing in a
> destructor can end up calling abort().
Emil,
Does that mean you are in favour of fixing
https://svn.boost.org/trac/boost/ticket/2932 "iostreams file_descriptor:
possible throw of exception in call to destructor"?
This was raised seven months ago. Since there's been no response from
the Boost.Iostreams maintainer, is it possible for someone else to make
the trivial patch?
Thanks,
Gareth
http://lists.boost.org/Archives/boost/2009/08/155157.php
http://lists.boost.org/Archives/boost/2009/08/154611.php
http://lists.boost.org/Archives/boost/2009/08/154844.php
************************************************************************
The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.
This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk