Change default on C++17 to uncaught_exceptions

* By popular demand.
* If you need to undo this change, compile with
  -DHAS_UNCAUGHT_EXCEPTIONS=0.
This commit is contained in:
Howard Hinnant
2021-03-21 22:41:22 -04:00
parent b899774303
commit 654b97091f

View File

@ -136,7 +136,7 @@ namespace date
#endif
#ifndef HAS_UNCAUGHT_EXCEPTIONS
# if __cplusplus > 201703 || (defined(_MSVC_LANG) && _MSVC_LANG > 201703L)
# if __cplusplus >= 201703 || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
# define HAS_UNCAUGHT_EXCEPTIONS 1
# else
# define HAS_UNCAUGHT_EXCEPTIONS 0