A staff SW engineer once told me a few years ago that if no exceptions occur in a C++ try/catch clause, there are still impacts to real-time performance. He didn't explain the underlying reasons behind his statement. I would like to get an under-the-hood explanation, as well as reading the supportive C++ specs. Is his statement universally true or platform dependent? Thanks.
(Please assume for this question that the deployed system never has an exception. One could do a timing test with and without the try/catch, but this discussion was over the phone. Anyway, I am trying to understand the statement without experimentation, but just based on the C++ language specs.)