From 3f94a68e628245dd7ae886d3bd2eed0e0b377955 Mon Sep 17 00:00:00 2001 From: xavier2k6 <42386382+xavier2k6@users.noreply.github.com> Date: Tue, 9 Aug 2022 04:22:45 +0100 Subject: [PATCH] Sync `nonstd/expected` with upstream * Used commit: `95b9cb015fa17baa749c2b396b335906e1596a9e` (Release v0.6.2) * Source: https://github.com/martinmoene/expected-lite/releases PR #17508. --- src/base/3rdparty/expected.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/base/3rdparty/expected.hpp b/src/base/3rdparty/expected.hpp index 45b6f5e00..f2b7f9402 100644 --- a/src/base/3rdparty/expected.hpp +++ b/src/base/3rdparty/expected.hpp @@ -13,8 +13,8 @@ #define NONSTD_EXPECTED_LITE_HPP #define expected_lite_MAJOR 0 -#define expected_lite_MINOR 5 -#define expected_lite_PATCH 0 +#define expected_lite_MINOR 6 +#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 @@ -100,7 +100,7 @@ #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 : std::conditional