2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-19 04:42:17 +00:00

Add outcome patch for 1.73

This commit is contained in:
Glen Fernandes
2020-04-28 12:35:49 -04:00
parent 0c439c7b98
commit 2aef467684
3 changed files with 26 additions and 0 deletions

View File

@@ -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:

View File

@@ -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<void> &dst, const status_code<void> &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<const _mycode &>(src); // NOLINT

View File

@@ -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.</p>
<h2>1.73.0</h2>
<ul>
<li><a href="1_73_0/0001-outcome-assert.patch">0001-outcome-assert.patch</a></li>
</ul>
<h2>1.72.0</h2>
<ul>