This is the mail archive of the gcc@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]

Re: Why does debugging "pure virtual method called" have to be so hard?


>>>>> Alexandre Oliva <oliva@dcc.unicamp.br> writes:

 > So I'd rather modify __pure_virtual() so that it calls abort() or throws
 > an exception of some non-standard type, say, __pure_virtual_exception,
 > which may end up turning into a call of unexpected(), then terminate().

Sounds good.

Jason


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