I'm not a C++ developer, but AFAIK the fact that C++ is not 100% "you don't pay for what you don't use" is commonly acknowledged. Exceptions are an example of that.
There are ideas/proposals how to fix that: https://www.youtube.com/watch?v=ARYP83yNAWk