After years of using the big ugly MFC ASSERT macro, I have finally decided to ditch it and create the ultimate ASSERT macro.
I am fine with getting the file and line num
you can easily use func. it will take back you current function name at runtime which raised the exception.
usage:
cout << __func__ << ": " << e.what();