very simple code, and getting error C2712, could not understand why
问题 I'm having trouble for a while with error C2712: Cannot use __try in functions that require object unwinding , after narrowing the problem, I was left with a very very simple code, and i can not understand why it causes this error. I am using Visual Studio under windows. I am compiling with /EHa (I do not use /EHsc) The reason I use __try/__except and not try/catch is because I want to catch ALL the errors, and do not want the program to crash under any circumstances, including for example