TRY/CATCH_ALL vs try/catch

后端 未结 4 1210
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-18 03:36

I\'ve been using c++ for a while, and I\'m familiar with normal try/catch. However, I now find myself on Windows, coding in VisualStudio for COM development. Several parts

4条回答
  •  执念已碎
    2021-01-18 04:11

    It's an artifact of Windows programming from before the days when try/catch wasn't well supported by compilers, or wasn't supported at all.

提交回复
热议问题