Re: [PATCH] do not throw in std::make_exception_ptr

2016-08-04 Thread Jonathan Wakely
On 04/08/16 21:36 +0300, Gleb Natapov wrote: On Thu, Aug 04, 2016 at 07:01:45PM +0100, Jonathan Wakely wrote: The Doxygen group that starts with @{ ends later in this file, but you haven't moved the corresponding @} to the new file. I can take care of fixing that up though (we want the contents

Re: [PATCH] do not throw in std::make_exception_ptr

2016-08-04 Thread Gleb Natapov
On Thu, Aug 04, 2016 at 07:01:45PM +0100, Jonathan Wakely wrote: > On 04/08/16 20:01 +0300, Gleb Natapov wrote: > > Instead of throwing an exception allocate its memory and initialize it > > explicitly. Makes std::make_exception_ptr more efficient since no stack > > unwinding is needed. > > > > In

Re: [PATCH] do not throw in std::make_exception_ptr

2016-08-04 Thread Jonathan Wakely
On 04/08/16 20:01 +0300, Gleb Natapov wrote: Instead of throwing an exception allocate its memory and initialize it explicitly. Makes std::make_exception_ptr more efficient since no stack unwinding is needed. In this version I hopefully addressed all Jonathan comments. * libsupc++/exception (st