I need to only run ship build and I need to assert on certain condition in release build to see if the problem is fixed. How do I do it?
I like to define it to throw some sort of assert_exception derived from a std::runtime_error. Then catch it somewhere and do something useful.