I have a code in C# that uses _set_invalid_parameter_handler function. It's Windows specific and i am trying to rewrite this code in standard C++ so it runs on Linux.
I am not sure how to translate this functionality. I was advised to use maybe http://en.cppreference.com/w/c/error/set_constraint_handler_s but i have followed this example and the types of constraint handlers aren't recognized in visual studio 2015 nor when i try to compile it on Linux. Will appreciate some help either using constraint handlers or finding some other way to replicate _set_invalid_parameter_handler functionality in standard C++.