We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#if defined(_MSC_VER)
-Wundef
1 parent 0854335 commit 52f2b61Copy full SHA for 52f2b61
include/nonstd/optional.hpp
@@ -47,7 +47,7 @@
47
// Control presence of exception handling (try and auto discover):
48
49
#ifndef optional_CONFIG_NO_EXCEPTIONS
50
-# if _MSC_VER
+# if defined(_MSC_VER)
51
# include <cstddef> // for _HAS_EXCEPTIONS
52
# endif
53
# if defined(__cpp_exceptions) || defined(__EXCEPTIONS) || (_HAS_EXCEPTIONS)
0 commit comments