dimanche 5 septembre 2021

How does C++ exception handling work on CPU level?

We all know that exception handling in C++ is done with try, catch and throw keywords, and standard exceptions can be found in std:exception.

I was reading this Technical Report on C++ Performance and was wondering how does C++ (C++11) exception handling work on the CPU level? i.e. What happened when the code interacts with the compiler, CPU cycles, optimization level.

Aucun commentaire:

Enregistrer un commentaire