Fix some -Wmaybe-uninitialized warnings

This commit is contained in:
Andrzej Krzemienski committed 2023-12-29 01:40:01 +01:00
1 parent c60db27762
commit e31cf6f2a8
7 files changed
+221 -58

No files matched your search

+6 -1
View File
@@ -1,7 +1,7 @@
[/
Boost.Optional
Copyright (c) 2015 - 2022 Andrzej Krzemienski
Copyright (c) 2015 - 2023 Andrzej Krzemienski
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
@@ -11,6 +11,11 @@
[section:relnotes Release Notes]
[heading Boost Release 1.85]
* Fixed the implementation for trivial types. Now it is slower, because it always initializes the `T`, but it avoids undefined behavior when `optional<T>` is copied. This fixes [@https://github.com/boostorg/optional/issues/108 issue #108].
* Fixed some `-Wmaybe-uninitialized` warnings in GCC 12. Thanks to Christian Mazakas for the fix.
[heading Boost Release 1.83]
* Deprecated support for C++03 and earlier, C++11 will be required in release 1.86.