diff --git a/doc/91_relnotes.qbk b/doc/91_relnotes.qbk index 48e59f5..f1f4364 100644 --- a/doc/91_relnotes.qbk +++ b/doc/91_relnotes.qbk @@ -14,10 +14,10 @@ [heading Boost Release 1.79] * Fixed [@https://github.com/boostorg/optional/issues/98 issue #98]. - -[heading Boost Release 1.77] - * Fixed [@https://github.com/boostorg/optional/issues/92 issue #92]. +* Added support for `BOOST_NO_IOSTREAM`. +* Now aligned storage uses `unsigned char` rather than `char` to avoid UB. +* Now using cv-unqualified `value_type` with placement `new` to avoid UB. [heading Boost Release 1.76] diff --git a/doc/html/boost_optional/relnotes.html b/doc/html/boost_optional/relnotes.html index fc6c8e9..f59b5e6 100644 --- a/doc/html/boost_optional/relnotes.html +++ b/doc/html/boost_optional/relnotes.html @@ -31,21 +31,31 @@ Boost Release 1.79 -
BOOST_NO_IOSTREAM
.
+ unsigned
+ char
rather than char
+ to avoid UB.
+ value_type
+ with placement new
to avoid
+ UB.
+ logic_error("...")
".
Because T
is convertible
to optional<T>
- and because opiotnal<T>
+ and because optional<T>
is LessThanComparable
when T
is LessThanComparable
, you can sometimes
get an unexpected runtime result where you would rather expect a compiler
error:
diff --git a/doc/html/boost_optional/tutorial/gotchas/moved_from__optional_.html b/doc/html/boost_optional/tutorial/gotchas/moved_from__optional_.html
index 5c4b1cf..7924e61 100644
--- a/doc/html/boost_optional/tutorial/gotchas/moved_from__optional_.html
+++ b/doc/html/boost_optional/tutorial/gotchas/moved_from__optional_.html
@@ -42,7 +42,7 @@
Quite a lot of people expect that when an object that contains a value
is moved from, its contained value should be destroyed. This is not so,
for performance reasons. Current semantics allow the implementation of
- boost::opiotnal<T>
+ boost::optional<T>
to be trivially copyable when T
is trivial.
Last revised: November 20, 2021 at 00:57:52 GMT |
+Last revised: March 26, 2022 at 22:47:53 GMT |