How a C++ compiler implements exception handling


The C++ standard, like any other feature in C++, doesn't say anything about how exception handling should be implemented. This means that every vendor is free to use any implementation as he sees fit. I will describe how VC++ implements this feature, but it should be a good study material for those as well who use other compilers or Operating Systems [1]. VC++ builds its exception handling support on top of structured exception handling (SEH) provided by Windows operating system [2].



http://www.codeproject.com/kb/cpp/exceptionhandler.aspx

0 komentarze:

Prześlij komentarz

 
Tomasz Kulig