]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
bump: Upgrade to nonstd::expected 0.6.2
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 7 Aug 2022 12:35:39 +0000 (14:35 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 7 Aug 2022 12:36:20 +0000 (14:36 +0200)
LICENSE.adoc
src/third_party/nonstd/expected.hpp

index 3f536b119a9f8f33b36f4220952462993dc34bd7..7c2fd946ebf3e5c0849d37df4cb61993b4583bb3 100644 (file)
@@ -577,7 +577,7 @@ SOFTWARE.
 === src/third_party/nonstd/expected.hpp
 
 This is the single header version of
-https://github.com/martinmoene/expected-lite[expected-lite] 0.6.1 with the
+https://github.com/martinmoene/expected-lite[expected-lite] 0.6.2 with the
 following license:
 
 ----
index b1bd37c0d63f060152ee23f827da7b11c0e44b2f..f2b7f94021c9ed618eae89be804cbe5a26f654e4 100644 (file)
@@ -14,7 +14,7 @@
 
 #define expected_lite_MAJOR  0
 #define expected_lite_MINOR  6
-#define expected_lite_PATCH  1
+#define expected_lite_PATCH  2
 
 #define expected_lite_VERSION  expected_STRINGIFY(expected_lite_MAJOR) "." expected_STRINGIFY(expected_lite_MINOR) "." expected_STRINGIFY(expected_lite_PATCH)
 
@@ -85,7 +85,7 @@
 # define nsel_CONFIG_NO_EXCEPTIONS_SEH  ( nsel_CONFIG_NO_EXCEPTIONS && _MSC_VER )
 #endif
 
-// C++ language version detection (C++20 is speculative):
+// C++ language version detection (C++23 is speculative):
 // Note: VC14.0/1900 (VS2015) lacks too much from C++14.
 
 #ifndef   nsel_CPLUSPLUS
 #define nsel_CPP11_OR_GREATER  ( nsel_CPLUSPLUS >= 201103L )
 #define nsel_CPP14_OR_GREATER  ( nsel_CPLUSPLUS >= 201402L )
 #define nsel_CPP17_OR_GREATER  ( nsel_CPLUSPLUS >= 201703L )
-#define nsel_CPP20_OR_GREATER  ( nsel_CPLUSPLUS >= 202000L )
+#define nsel_CPP20_OR_GREATER  ( nsel_CPLUSPLUS >= 202002L )
 #define nsel_CPP23_OR_GREATER  ( nsel_CPLUSPLUS >= 202300L )
 
 // Use C++23 std::expected if available and requested:
@@ -429,7 +429,7 @@ struct conjunction<B1, Bn...> : std::conditional<bool(B1::value), conjunction<Bn
 
 namespace std20 {
 
-#if nsel_CPP20_OR_GREATER
+#if defined(__cpp_lib_remove_cvref)
 
 using std::remove_cvref;