📄 err_hand.html
字号:
<HTML><HEAD><TITLE>Newmat09 - error handling</TITLE></HEAD><BODY><H2>Error handling</H2><A HREF="sparse.html"> next</A> -<A HREF="sparse.html"> skip</A> -<A HREF="design.html"> up</A> -<A HREF="index.html"> start</A><P>The library now does have a moderately graceful exit fromerrors. One can use either the simulated exceptions or thecompiler supported exceptions. When newmat08 was released(in 1995), compiler exception handling in the compilers Ihad access to wasunreliable. I recommended you used my simulated exceptions.Now (in 1997) compiler supported exceptions do seem to workon a variety of compilers - but not all compilers.<P>The approach in the present library, attempting to simulateC++ exceptions, is not completely satisfactory, but seems a goodinterim solution for those who cannot use compiler supportedexceptions. People who don't want exceptions in any shapeor form, can set the option to exit the program if an exceptionis thrown.<P>The exception mechanism cannot clean-up objects explicitlycreated by new. This must be explicitly carried out by thepackage writer or the package user. I have not yet done thiscompletely withthe present package so occasionally a little garbage may be leftbehind after an exception. I don't think this is a big problem,but it is one that needs fixing.<P><A HREF="sparse.html"> next</A> -<A HREF="sparse.html"> skip</A> -<A HREF="design.html"> up</A> -<A HREF="index.html"> start</A><P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -