This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] PATCH to libstdc++ for forced unwind handling (c++/28145)


On Thursday 03 of May 2007 08:35:46 Jason Merrill wrote:

> Tested x86_64-pc-linux-gnu.  Any comments before I check it in?

> !   class __forced_unwind
> !   {
> !     virtual ~__forced_unwind() throw();
> !     virtual void __pure() = 0; // prevent catch by value
> !   };

You can do abstract class much simplier:

class __forced_unwind
{
        virtual ~__forced_unwind() throw() = 0;
};


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]