From 2aef46768438fe366e7a3333a69cb0e30cfd1f9a Mon Sep 17 00:00:00 2001
From: Glen Fernandes
Date: Tue, 28 Apr 2020 12:35:49 -0400
Subject: [PATCH] Add outcome patch for 1.73
---
feed/history/boost_1_73_0.qbk | 9 +++++++++
patches/1_73_0/0001-outcome-assert.patch | 11 +++++++++++
patches/index.html | 6 ++++++
3 files changed, 26 insertions(+)
create mode 100644 patches/1_73_0/0001-outcome-assert.patch
diff --git a/feed/history/boost_1_73_0.qbk b/feed/history/boost_1_73_0.qbk
index 89ca792d..46376c03 100644
--- a/feed/history/boost_1_73_0.qbk
+++ b/feed/history/boost_1_73_0.qbk
@@ -21,6 +21,15 @@ Formatting reference: https://www.boost.org/doc/tools/quickbook/
Please keep the list of libraries sorted in lexicographical order.
]
+[section Known Issues]
+
+These are patches from library authors which were found too late to be fixed
+in the release. Be careful as they have not been through the normal testing
+process.
+
+* Outcome `status_code_domain` assertion removal
+ * [@/patches/1_73_0/0001-outcome-assert.patch Outcome patch]
+
[section New Libraries]
[/ Example:
diff --git a/patches/1_73_0/0001-outcome-assert.patch b/patches/1_73_0/0001-outcome-assert.patch
new file mode 100644
index 00000000..6a06db6d
--- /dev/null
+++ b/patches/1_73_0/0001-outcome-assert.patch
@@ -0,0 +1,11 @@
+--- a/boost_1_73_0/boost/outcome/experimental/status-code/status_code_ptr.hpp 2020-04-28 09:23:14.792565200 +0100
++++ b/boost_1_73_0/boost/outcome/experimental/status-code/status_code_ptr.hpp 2020-04-28 09:24:34.311741000 +0100
+@@ -103,7 +103,7 @@
+ #endif
+ virtual void _do_erased_copy(status_code &dst, const status_code &src, size_t /*unused*/) const override // NOLINT
+ {
+- assert(dst.domain() == *this);
++ // Note that dst will not have its domain set
+ assert(src.domain() == *this);
+ auto &d = static_cast<_mycode &>(dst); // NOLINT
+ const auto &_s = static_cast(src); // NOLINT
diff --git a/patches/index.html b/patches/index.html
index 89fb346d..585c2eb3 100644
--- a/patches/index.html
+++ b/patches/index.html
@@ -33,6 +33,12 @@ https://www.boost.org/development/website_updating.html
late to be fixed in the release. Be careful as they have
not been through the normal testing process.
+ 1.73.0
+
+
+
1.72.0