I would say that c++ have exception for error handling, with the x64 ABI, that's does not dirty the generated code as it would before. Under normal operation, that's zero overhead and in case of errors, RAII secure destruction of already acquired resources.