Is there a way for managed code in C++/CLI to throw exceptions on arithmetic overflow? C# has the checked keyword and also global project flags to enable these, but I can find neither in C++/CLI...
My situation is that I am wrapping C++ libs in .NET. Sometimes the C++ native code overflows. I was/am considering moving some sensitive calculations to existing C++/CLI wrapper, but perhaps this is not possible?