We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdc64e2 commit a782d5cCopy full SHA for a782d5c
absl/base/config.h
@@ -538,7 +538,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
538
// Checks whether C++17 std::optional is available.
539
#ifdef ABSL_HAVE_STD_OPTIONAL
540
#error "ABSL_HAVE_STD_OPTIONAL cannot be directly set."
541
-#elif defined(__cpp_lib_optional) && __cpp_lib_optional >= 202106L
+#elif defined(__cpp_lib_optional) && __cpp_lib_optional >= 201606L
542
#define ABSL_HAVE_STD_OPTIONAL 1
543
#elif defined(ABSL_INTERNAL_CPLUSPLUS_LANG) && \
544
ABSL_INTERNAL_CPLUSPLUS_LANG >= 201703L && \
0 commit comments