mirror of
https://github.com/boostorg/website.git
synced 2026-02-16 14:02:08 +00:00
3818 lines
180 KiB
XML
3818 lines
180 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<rss version="2.0" xmlns:boostbook="urn:boost-org:boostbook" xmlns:atom="http://www.w3.org/2005/Atom">
|
||
<channel>
|
||
<generator>Boost Website Site Tools</generator>
|
||
<title>Boost Downloads</title>
|
||
<link>https://www.boost.org/users/download/</link>
|
||
<atom:link href="https://www.boost.org/generated/downloads.rss" rel="self" type="application/rss+xml" />
|
||
<description></description>
|
||
<language>en-us</language>
|
||
<copyright>Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or https://www.boost.org/LICENSE_1_0.txt)</copyright>
|
||
<item><title>Version 1.77.0</title><link>https://www.boost.org/users/history/version_1_77_0.html</link><guid>https://www.boost.org/users/history/version_1_77_0.html</guid><pubDate>Wed, 11 Aug 2021 14:25:13 +0000</pubDate><description>
|
||
|
||
|
||
<div id="version_1_77_0.new_libraries">
|
||
<h3><span class="link">New Libraries</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/describe/">Describe</a>:</span> A C++14 reflection
|
||
library, from Peter Dimov. Provides macros for describing enumerators and
|
||
struct/class members, and primitives for querying this information.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/lambda2/">Lambda2</a>:</span> A C++14, dependency-free,
|
||
single header lambda library, from Peter Dimov. Allows simple function
|
||
objects to be constructed via expressions such as <code><span class="identifier">_1</span>
|
||
<span class="special">+</span> <span class="number">5</span></code>,
|
||
<code><span class="identifier">_1</span> <span class="special">%</span>
|
||
<span class="number">2</span> <span class="special">==</span> <span class="number">0</span></code>, <code><span class="identifier">_1</span>
|
||
<span class="special">&gt;</span> <span class="identifier">_2</span></code>,
|
||
or <code><span class="identifier">_1</span> <span class="special">==</span>
|
||
<span class="char">' '</span> <span class="special">||</span> <span class="identifier">_1</span> <span class="special">==</span> <span class="char">'\t'</span></code>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_77_0.updated_libraries">
|
||
<h3><span class="link">Updated Libraries</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/any/">Any</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">anys</span><span class="special">::</span><span class="identifier">basic_any</span></code> - a data type with customizable
|
||
Small Object Optimization whose instances can hold instances of any
|
||
type that satisfies ValueType requirements (many thanks to Ruslan
|
||
Arutyunyan @rarutyun). If you are not sure that you really need it,
|
||
then use <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">any</span></code> instead.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Started using GithubActions CI for additional testing
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/asio/">Asio</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added support for cancellation of individual asynchronous operations.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">associator</span></code>
|
||
trait, used to generically forward associators.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Changed all asynchronous operations implemented in Asio to invoke
|
||
their completion handlers as rvalue references.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added support for asynchronous operations with multiple completion
|
||
signatures.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="keyword">operator</span><span class="special">&amp;&amp;</span></code>
|
||
and <code><span class="keyword">operator</span><span class="special">||</span></code>
|
||
for <code><span class="identifier">awaitable</span><span class="special">&lt;&gt;</span></code>,
|
||
to allow coroutines to be trivially awaited in parallel.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">as_tuple</span></code>
|
||
completion token adapter.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">append</span></code>
|
||
completion token adapter.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">prepend</span></code>
|
||
completion token adapter.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">deferred</span></code>
|
||
completion token, whicih allows deferred execution of asynchronous
|
||
operations.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">parallel_group</span></code>
|
||
class and <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">make_parallel_group</span></code>
|
||
function.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">promise</span></code>,
|
||
which allows eager execution and synchronisation of asynchronous
|
||
operations.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">coro</span></code>
|
||
class template, a C++20 coroutine primitive with the ability to combine
|
||
both asynchronous waiting (<code><span class="identifier">co_await</span></code>)
|
||
and yielding (<code><span class="identifier">co_yield</span></code>).
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added move assignment to <code><span class="identifier">ssl</span><span class="special">::</span><span class="identifier">stream</span><span class="special">&lt;&gt;</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Changed <code><span class="identifier">co_spawn</span></code>
|
||
to <code><span class="identifier">dispatch</span></code> the coroutine's
|
||
initial step to the executor.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Enabled additional optimisations for <code><span class="identifier">any_executor</span></code>
|
||
and <code><span class="identifier">any_io_executor</span></code>
|
||
when used with asynchronous operations.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">nodiscard</span></code>
|
||
attribute to <code><span class="identifier">awaitable</span><span class="special">&lt;&gt;</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Increased the number of cached slots in the default recycling allocator.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Changed the default allocator behaviour to respect alignment requirements,
|
||
to support over-aligned types.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Ensured the result strings are always initialised in reverse name
|
||
resolution.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed recursive template instantiation issues in <code><span class="identifier">use_awaitable_t</span><span class="special">::</span><span class="identifier">executor_with_default</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed the <code><span class="identifier">any_io_executor</span></code>
|
||
equality operators to correctly return a result based on the target
|
||
executor.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <code><span class="identifier">strand</span><span class="special">&lt;&gt;</span></code>
|
||
to avoid using a potentially moved-from executor.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Ensured <tt>gcc</tt> tests are not used for <tt>clang</tt>
|
||
when detecting compiler features.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Disabled coroutines support for the <tt>clang</tt> shipped
|
||
with MSVC.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed compatibility with recent LibreSSL when <code><span class="identifier">OPENSSL_NO_SSL_INTERN</span></code>
|
||
is defined.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <code><span class="identifier">posix</span><span class="special">::</span><span class="identifier">basic_stream_descriptor</span></code> move operations
|
||
to work with non-defaulted executors.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Consult the <a href="https://www.boost.org/doc/libs/1_77_0/doc/html/boost_asio/history.html">Revision
|
||
History</a> for further details.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/atomic/">Atomic</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">make_atomic_ref</span></code>
|
||
and <code><span class="identifier">make_ipc_atomic_ref</span></code>
|
||
factory functions for constructing atomic reference objects.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added C++17 template argument deduction guides for <code><span class="identifier">atomic_ref</span></code> and <code><span class="identifier">ipc_atomic_ref</span></code>
|
||
to allow omitting template arguments when they can be deduced from
|
||
constructor arguments.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/beast/">Beast</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
This maintenance update brings minor bug fixes and updated CI reporting.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
We'd love to know how you or your company use Beast, consider adding
|
||
an entry to the <a href="https://github.com/boostorg/beast/wiki/Companies-and-Individuals-Using-Beast">Companies
|
||
and Individuals Using Beast</a> list.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
See the full <a href="https://www.boost.org/libs/beast/doc/html/beast/release_notes.html">Release
|
||
Notes</a> for a complete list of changes.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/conversion/">Conversion</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">implicit_cast</span></code> is now <code><span class="keyword">constexpr</span></code> (<a href="https://github.com/boostorg/conversion/issues/25">#25</a>).
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed broken links (<a href="https://github.com/boostorg/conversion/pull/23">PR#23</a>).
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Started using GithubActions CI for additional testing
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/core/">Core</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">boost</span><span class="special">/</span><span class="identifier">core</span><span class="special">/</span><span class="identifier">uncaught_exceptions</span><span class="special">.</span><span class="identifier">hpp</span></code> has been modified for compatibility
|
||
with Mac OS 10.4 and older. (<a href="https://github.com/boostorg/core/pull/92">PR#92</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/dll/">DLL</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
More runtime checks for malformed ELFs in <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">dll</span><span class="special">::</span><span class="identifier">library_info</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
In <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">dll</span><span class="special">::</span><span class="identifier">library_info</span></code> use info from <code><span class="special">.</span><span class="identifier">dynsym</span></code>
|
||
ELF section if <code><span class="special">.</span><span class="identifier">symtab</span></code>
|
||
is empty or missing
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
List protected ELF symbols in <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">dll</span><span class="special">::</span><span class="identifier">library_info</span></code>
|
||
as they are available for import (<a href="https://github.com/boostorg/dll/issues/50">#50</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Remove unneeded convert from <code><span class="keyword">wchar_t</span></code>
|
||
to char on POSIX environment, thanks to Vladislav Shchapov (<a href="https://github.com/boostorg/dll/pull/49">PR#49</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Started using GithubAction CI for additional testing
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/filesystem/">Filesystem</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<strong>Introducing Boost.Filesystem v4.</strong>
|
||
This new version of the library removes all deprecated features of
|
||
v3 and also makes a number of breaking API changes intended to make
|
||
Boost.Filesystem more compatible with std::filesystem introduced
|
||
in C++17. The differences are described in the release notes and
|
||
documentation using <strong>v3</strong> and <strong>v4</strong> tags and are also summarised in a separate
|
||
section. Users can select Boost.Filesystem version by defining <code><span class="identifier">BOOST_FILESYSTEM_VERSION</span></code> macro
|
||
to either 3 or 4 when compiling their code. There is no need to separately
|
||
compile Boost.Filesystem for each library version - a single binary
|
||
supports both v3 and v4. Users should avoid using both v3 and v4
|
||
in the same application as this can lead to subtle bugs. Currently,
|
||
v3 is the default. In a future release v4 will become the default,
|
||
and eventually v3 will be removed. v4 is functional, but it is still
|
||
a work in progress and there may be breaking API changes in the future.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<strong>v4:</strong> <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">filename</span></code>,
|
||
<code><span class="identifier">path</span><span class="special">::</span><span class="identifier">stem</span></code> and <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">extension</span></code>
|
||
no longer consider root name or root directory of the path as a filename
|
||
if the path only consists of those components. For example, on Windows
|
||
<code><span class="identifier">path</span><span class="special">(</span><span class="string">"C:"</span><span class="special">).</span><span class="identifier">filename</span><span class="special">()</span></code>
|
||
used to return "C:" and <code><span class="identifier">path</span><span class="special">(</span><span class="string">"C:\\"</span><span class="special">).</span><span class="identifier">filename</span><span class="special">()</span></code> used to return "\" and
|
||
both will return an empty path now. (<a href="https://github.com/boostorg/filesystem/issues/88">#88</a>, <a href="https://github.com/boostorg/filesystem/issues/194">#194</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<strong>v4:</strong> <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">stem</span></code>
|
||
and <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">extension</span></code> no longer treat a filename
|
||
that starts with a dot and has no other dots as an extension. Filenames
|
||
starting with a dot are commonly treated as filenames with an empty
|
||
extension. The leading dot is used to indicate a hidden file on most
|
||
UNIX-like systems. (<a href="https://github.com/boostorg/filesystem/issues/88">#88</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<strong>New:</strong> Improved support for various
|
||
path prefixes on Windows. Added support for local device prefix ("\\.\")
|
||
and experimental support for NT path prefix ("\??\"). The
|
||
prefixes will be included in the root name of a path. Note that using
|
||
the prefixes with Boost.Filesystem v3 can lead to surprising results
|
||
(e.g. <code><span class="identifier">path</span><span class="special">(</span><span class="string">"\\\\.\\"</span><span class="special">).</span><span class="identifier">stem</span><span class="special">()</span>
|
||
<span class="special">==</span> <span class="string">"\\\\"</span></code>).
|
||
It is recommended to use the prefixes only with Boost.Filesystem
|
||
v4.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Reworked <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">lexically_normal</span></code> implementation
|
||
to eliminate some cases of duplicate dot (".") elements
|
||
in the normalized paths.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<strong>New:</strong> Added runtime detection of
|
||
the <code><span class="identifier">statx</span></code> and <code><span class="identifier">getrandom</span></code> system calls on Linux.
|
||
This can be useful if the syscall is present at compile time but
|
||
fails with <code><span class="identifier">ENOSYS</span></code>
|
||
at run time (for example, in Docker containers that restrict the
|
||
syscall, even if available on the host). (<a href="https://github.com/boostorg/filesystem/issues/172">#172</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<strong>New:</strong> Added support for disabling
|
||
usage of various system APIs at library build time. This can be useful
|
||
when a certain API is detected as present by the library configuration
|
||
scripts but must not be used for some reason (for example, when runtime
|
||
detection does not work on the target system). See the description
|
||
of configuration macros in the library documentationfor for more
|
||
details.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<strong>New:</strong> Added <code><span class="identifier">copy_options</span><span class="special">::</span><span class="identifier">synchronize_data</span></code>
|
||
and <code><span class="identifier">copy_options</span><span class="special">::</span><span class="identifier">synchronize</span></code>
|
||
options for the <code><span class="identifier">copy_file</span></code>
|
||
operation. These options allow to synchronize the written data and
|
||
attributes with the permanent storage. These options are expensive
|
||
in terms of performance, but allow to ensure reliability of the copied
|
||
data. Note that <code><span class="identifier">copy_file</span></code>
|
||
performed implicit data synchronization on POSIX systems since Boost.Filesystem
|
||
1.74.0. This release adds support for more platforms and disables
|
||
data synchronization by default while allowing the caller to explicitly
|
||
request it. (<a href="https://github.com/boostorg/filesystem/issues/186">#186</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added handling of <code><span class="identifier">EINTR</span></code>
|
||
error code on POSIX systems for some system calls issued internally.
|
||
In particular, <code><span class="identifier">EINTR</span></code>
|
||
could have been ignored on <code><span class="identifier">close</span></code>,
|
||
which on HP-UX would result in a leaked file descriptor.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
In the <code><span class="identifier">copy_file</span></code>
|
||
implementations based on Linux <code><span class="identifier">sendfile</span></code>
|
||
and <code><span class="identifier">copy_file_range</span></code>
|
||
system calls, added handling of error codes indicating that a particular
|
||
filesystem does not support the system call and fall back to the
|
||
generic <code><span class="identifier">read</span></code>/<code><span class="identifier">write</span></code> loop. This should fix <code><span class="identifier">copy_file</span></code> failing on <a href="https://www.ecryptfs.org/">eCryptFS</a>
|
||
and possibly other filesystems. (<a href="https://github.com/boostorg/filesystem/issues/184">#184</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The <code><span class="identifier">copy_file_range</span></code>
|
||
system call is now used since Linux kernel 4.5, whereas previously
|
||
it was only enabled since 5.3. The <code><span class="identifier">copy_file</span></code>
|
||
implementation will fall back to <code><span class="identifier">sendfile</span></code>
|
||
or <code><span class="identifier">read</span></code>/<code><span class="identifier">write</span></code> loop if <code><span class="identifier">copy_file_range</span></code>
|
||
fails to copy a given file across filesystems.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The <code><span class="identifier">copy_file</span></code> implementations
|
||
based on Linux <code><span class="identifier">sendfile</span></code>
|
||
and <code><span class="identifier">copy_file_range</span></code>
|
||
system calls will not be used on filesystems that are known to contain
|
||
files with generated content. These system calls are incompatible
|
||
with such files, and copying them would result in zero-sized files.
|
||
The generic <code><span class="identifier">read</span></code>/<code><span class="identifier">write</span></code> loop will be used instead.
|
||
Currently, the blacklisted filesystems are: procfs, sysfs, tracefs
|
||
and debugfs.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
In the <code><span class="identifier">copy_file</span></code>
|
||
implementation based on <code><span class="identifier">read</span></code>/<code><span class="identifier">write</span></code> loop, increased the maximum
|
||
size of the buffer used for temporary storage and take into account
|
||
the target filesystem block size for more optimal performance.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On Windows CE, calling <code><span class="identifier">current_path</span></code>
|
||
to obtain the current path for a process will now fail with an error
|
||
instead of returning successfully with a root path. This platform
|
||
does not support current directory. Changing the current path was
|
||
already failing similarly in previous releases of Boost.Filesystem.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
In <code><span class="identifier">canonical</span></code>, fixed
|
||
the check for a symlink referencing a directory above root, if an
|
||
earlier symlink was resolved to an absolute path with a different
|
||
root from the original path.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
In <code><span class="identifier">canonical</span></code>, added
|
||
a limit for the maximum number of symlinks that can be resolved during
|
||
the call. The limit is currently at least 40 symlinks.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On Windows, <code><span class="identifier">canonical</span></code>
|
||
and <code><span class="identifier">weakly_canonical</span></code>
|
||
will now use <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">preferred_separator</span></code>
|
||
for the root directory separator in the resulting paths. This fixes
|
||
"file not found" errors caused by Windows API not handling
|
||
generic separators in UNC paths and paths that start with the Win32
|
||
filesystem prefix ("\\?\"). (<a href="https://github.com/boostorg/filesystem/issues/87">#87</a>, <a href="https://github.com/boostorg/filesystem/issues/187">#187</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<strong>New:</strong> Added <code><span class="identifier">weakly_canonical</span></code>
|
||
overloads taking <code><span class="identifier">base</span></code>
|
||
path as an argument.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On Windows, <code><span class="identifier">weakly_canonical</span></code>
|
||
no longer fails with an error if the input path contains elements
|
||
that do not exist in the filesystem but are cancelled by a subsequent
|
||
dot-dot ("..") element. For example, <code><span class="identifier">weakly_canonical</span><span class="special">(</span><span class="string">"C:\\a\\.."</span><span class="special">)</span></code> would previously fail if "C:\a"
|
||
directory did not exist. (<a href="https://github.com/boostorg/filesystem/issues/201">#201</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
In <code><span class="identifier">read_symlink</span></code> on
|
||
Windows, corrected reparse point handling. The operation would return
|
||
an empty path for some mount points (for example, created by <a href="https://www.box.com/">Box</a> cloud storage driver) and
|
||
directory junction points that had empty print names. The new implementation
|
||
now parses substitute name of the reparse point and attempts to reconstruct
|
||
a Win32 path from it. (<a href="https://github.com/boostorg/filesystem/issues/187">#187</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On Windows, file streams provided in <code><span class="identifier">boost</span><span class="special">/</span><span class="identifier">filesystem</span><span class="special">/</span><span class="identifier">fstream</span><span class="special">.</span><span class="identifier">hpp</span></code>
|
||
will use wide character paths on libc++ versions 7.0 and higher,
|
||
when the standard library supports opening files with wide character
|
||
paths. (<a href="https://github.com/boostorg/filesystem/issues/181">#181</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On Windows, creating symlinks should no longer require elevated privileges,
|
||
if Windows is configured in <a href="https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development">Developer
|
||
mode</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
With some compilers, global objects used internally in Boost.Filesystem
|
||
are now destroyed after user's global destructors are called. This
|
||
allows to call Boost.Filesystem methods during the program termination
|
||
stage. In particular, this concerns the path locale that is used
|
||
for character code conversion and can be installed by calling <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">imbue</span></code>. The supported compilers
|
||
include MSVC, GCC and Clang, as well as other compilers that support
|
||
customizing program initialization order through <code><span class="preprocessor">#pragma</span>
|
||
<span class="identifier">section</span></code> (for MSVC-compatible
|
||
compilers) or <code><span class="identifier">__attribute__</span>
|
||
<span class="special">((</span><span class="identifier">init_priority</span><span class="special">))</span></code> (for GCC-compatible compilers).
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/json/">JSON</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">value_to</span></code> supports
|
||
<code><span class="identifier">TupleLike</span></code> types.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">value_to</span></code> and <code><span class="identifier">value_from</span></code> support <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">array</span></code> and similar types.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Implicit conversion operator from <code><span class="identifier">string</span></code>
|
||
to <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">string_view</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">std</span><span class="special">::</span><span class="identifier">hash</span></code> specializations for json types.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed allocation errors in <code><span class="identifier">object</span></code>
|
||
and <code><span class="identifier">key_value_pair</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed crash when constructing <code><span class="identifier">array</span></code>
|
||
from a pair of iterators that form an empty range.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/lexical_cast/">LexicalCast</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed assignment to an int of a floating point value that is out
|
||
of representable range for int.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Started using GithubActions CI for additional testing
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/log/">Log</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed compilation for riscv32 target. (<a href="https://github.com/boostorg/log/pull/150">PR#150</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/mp11/">Mp11</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">mp_intersperse</span></code>,
|
||
<code><span class="identifier">mp_split</span></code>, <code><span class="identifier">mp_join</span></code>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/multi_index/">Multi-index Containers</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Maintenance work.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/pfr/">PFR</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
A MurMur Hash based implementation of hash_combine() is now used
|
||
to reduce collisions count and improve quality of <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">pfr</span><span class="special">::</span><span class="identifier">hash_value</span><span class="special">()</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Visual Studio 2017 now supported in C++14 mode (thanks to Denis Mikhailov
|
||
aka @denzor200)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Issues found by inspect tool were fixed
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed some warnings, including removal of extra semicolons in include/boost/pfr/detail/fields_count.hpp
|
||
(<a href="https://github.com/boostorg/pfr/issues/72">#72</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added a compile time assert for inherited types (thanks to Denis
|
||
Mikhailov aka @denzor200)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Reflection of aggregates with non movable fields is now possible
|
||
if guaranteed copy elision is on
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed spelling issues
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Started using GithubActions CI for additional testing
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/property_tree/">PropertyTree</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
This is a maintenance release.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Extend compiler coverage in CI.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix Boost compatibility for CMakeLists.txt.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/system/">System</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
The conversion operator from <code><span class="identifier">error_category</span></code>
|
||
to <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">error_category</span></code> has been improved
|
||
and no longer requires <code><span class="special">&lt;</span><span class="identifier">map</span><span class="special">&gt;</span></code>
|
||
or <code><span class="special">&lt;</span><span class="identifier">mutex</span><span class="special">&gt;</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The comparison operators of <code><span class="identifier">error_category</span></code>
|
||
are now inline friends instead of member functions (a side effect
|
||
of the previous change.)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">error_condition</span></code> now
|
||
defers calling <code><span class="identifier">generic_category</span><span class="special">()</span></code> to avoid instantiating the object
|
||
until it's actually needed.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">error_condition</span><span class="special">::</span><span class="identifier">failed</span></code> and <code><span class="identifier">error_condition</span><span class="special">::</span><span class="identifier">message</span></code>
|
||
have been undeprecated, and <code><span class="keyword">operator</span>
|
||
<span class="keyword">bool</span><span class="special">()</span></code>
|
||
now once again returns <code><span class="identifier">failed</span><span class="special">()</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The system category now doesn't call <code><span class="identifier">generic_category</span><span class="special">()</span></code>, to avoid instantiating the object.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The return value of <code><span class="identifier">default_error_condition</span></code>
|
||
changes in some cases into an <code><span class="identifier">error_condition</span></code>
|
||
from the generic category, instead of from the system category. This
|
||
happens on POSIX when the input <code><span class="identifier">error_code</span></code>
|
||
is from the system category and does not correspond to any <code><span class="identifier">errc_t</span></code> value.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The interoperability of <code><span class="identifier">error_code</span></code>
|
||
and <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">error_code</span></code> has been improved substantially.
|
||
It is now possible to construct <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span></code>
|
||
from <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">error_code</span></code>, and it's possible to
|
||
pass <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">system</span><span class="special">::</span><span class="identifier">error_code</span></code> to functions taking
|
||
<code><span class="identifier">std</span><span class="special">::</span><span class="identifier">error_code</span><span class="special">&amp;</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
A stream insertion operator for <code><span class="identifier">error_condition</span></code>
|
||
has been added.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/uuid/">Uuid</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">to_chars</span></code> for
|
||
writing uuid strings without allocating (<a href="https://github.com/boostorg/uuid/pull/116">PR#116</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_77_0.updated_tools">
|
||
<h3><span class="link">Updated Tools</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/tools/build/">Build</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Includes release of <a href="https://www.boost.org/tools/build/doc/html/#_version_4_6_1">B2
|
||
version 4.6.1</a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_77_0.compilers_tested">
|
||
<h3><span class="link">Compilers Tested</span></h3>
|
||
<p>
|
||
Boost's primary test compilers are:
|
||
</p>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Linux:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 12.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 3.4, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0, 12.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++17: 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++20: 11.0.0, 12.0.0, 13.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC: 4.6.3, 11
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.5, 11
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.4.0, 6.4.0, 7.3.0, 8.0.1, 9.1.0, 11
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.3.0, 8.0.1, 9.1.0, 11
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++20: 8.0.1, 9.1.0, 10, 11
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
OS X:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Apple Clang: 11.0.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++11: 11.0.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++14: 11.0.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++17: 11.0.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++20: 11.0.3
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Windows:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Visual C++: 10.0, 11.0, 12.0, 14.0, 14.1, 14.2
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<p>
|
||
Boost's additional test compilers include:
|
||
</p>
|
||
</div>
|
||
<div id="version_1_77_0.acknowledgements">
|
||
<h3><span class="link">Acknowledgements</span></h3>
|
||
<p>
|
||
Marshall Clow, Michael Caisse and Glen Fernandes managed this release.
|
||
</p>
|
||
</div>
|
||
</description></item><item><title>Version 1.76.0</title><link>https://www.boost.org/users/history/version_1_76_0.html</link><guid>https://www.boost.org/users/history/version_1_76_0.html</guid><pubDate>Fri, 16 Apr 2021 21:05:27 +0000</pubDate><description>
|
||
|
||
|
||
<div id="version_1_76_0.new_libraries">
|
||
<h3><span class="link">New Libraries</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
No new libraries
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_76_0.updated_libraries">
|
||
<h3><span class="link">Updated Libraries</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/asio/">Asio</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">ip</span><span class="special">::</span><span class="identifier">scope_id_type</span></code> type alias.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">ip</span><span class="special">::</span><span class="identifier">port_type</span></code> type alias.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">hash</span></code> specialisations for IP addresses.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">hash</span></code> specialisations for <code><span class="identifier">ip</span><span class="special">::</span><span class="identifier">basic_endpoint</span><span class="special">&lt;&gt;</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Refactored SFINAE usage to improve compile times.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added friendship support to customisation points, and made most customisations
|
||
private.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Changed <code><span class="identifier">any_io_executor</span></code>
|
||
to a "strong typedef"-style class.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">as_single</span></code>
|
||
to work with handler hook deprecation.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Ensured pthread condition variable attributes are cleaned up on all
|
||
platforms.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clarified thread safety notes on sockets and descriptors.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Ensured <code><span class="identifier">errno</span></code> is
|
||
not overwritten if <code><span class="identifier">socket</span><span class="special">()</span></code> fails on macOS/FreeBSD.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed work tracking for <code><span class="identifier">io_context</span></code>
|
||
and <code><span class="identifier">thread_pool</span></code> executors
|
||
when move-assigned.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Ensured internal <code><span class="identifier">call_stack</span></code>
|
||
objects are accessed only from implementation files.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed I/O object move-assignment to ensure the executor is left in
|
||
a valid state.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed detection of compiler support for defaulted template argument
|
||
on functions with MSVC.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Prevented the <code><span class="identifier">blocking</span><span class="special">.</span><span class="identifier">always</span></code>
|
||
property from being used with <code><span class="identifier">strand</span><span class="special">&lt;&gt;</span></code>, as it did not produce the
|
||
correct semantics.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Removed deprecated file <tt>asio/impl/src.cpp</tt>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/atomic/">Atomic</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed compilation with MSVC for ARM. (<a href="https://github.com/boostorg/atomic/pull/49">PR#49</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/beast/">Beast</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
This update brings minor bug fixes and revamped CI reporting.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
We'd love to know how you or your company use Beast, consider adding
|
||
an entry to the <a href="https://github.com/boostorg/beast/wiki/Companies-and-Individuals-Using-Beast">Companies
|
||
and Individuals Using Beast</a> list.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
See the full <a href="https://www.boost.org/libs/beast/doc/html/beast/release_notes.html">Release
|
||
Notes</a> for a complete list of changes.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/bind/">Bind</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Add support for using the standard C++11 placeholders with <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">bind</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Update <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">apply</span></code> to use variadic templates
|
||
and perfect forwarding.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/continer/">Container</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added [[no-discard]] attribute in all containers to catch bugs related
|
||
to unused return values.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Replaced default standard exception classes with Boost.Container
|
||
own classes, reducing considerably the included files overhead. Example:
|
||
in MSVC 19 <code><span class="identifier">boost</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">vector</span><span class="special">.</span><span class="identifier">hpp</span></code>
|
||
preprocessed file size reduces from 1,5MB to 930KB. If you still
|
||
want to use standard exception classes, you can define <code><span class="identifier">BOOST_CONTAINER_USE_STD_EXCEPTIONS</span></code>
|
||
before using any Boost.Container class.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed bugs/issues:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/102">GitHub
|
||
#102: <em>"flat_map::insert ambiguous with initializer
|
||
list &amp; pairs that need to convert"</em></a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/139">GitHub
|
||
#139: <em>"flat_map merge and iterators"</em></a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/141">GitHub
|
||
#141: <em>"small_vector does not propagate no throw
|
||
properties of move operation of contained type"</em></a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/164">GitHub
|
||
#164: <em>"Compile error when using <code><span class="identifier">pmr</span><span class="special">::</span><span class="identifier">map</span></code> with a <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">pair</span></code>; works when using a
|
||
<code><span class="identifier">std</span><span class="special">::</span><span class="identifier">tuple</span></code>"</em></a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/171">GitHub
|
||
#171: <em>"deque::clear() uses undefined behaviour"</em></a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/core/">Core</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Add implicit conversion between compatible reference wrappers.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add <code><span class="identifier">boost</span><span class="special">/</span><span class="identifier">core</span><span class="special">/</span><span class="identifier">cmath</span><span class="special">.</span><span class="identifier">hpp</span></code>, a portable implementation
|
||
of the floating point classification functions from <code><span class="special">&lt;</span><span class="identifier">cmath</span><span class="special">&gt;</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add <code><span class="identifier">boost</span><span class="special">/</span><span class="identifier">core</span><span class="special">/</span><span class="identifier">bit</span><span class="special">.</span><span class="identifier">hpp</span></code>, a portable implementation
|
||
of the C++20 standard header <code><span class="special">&lt;</span><span class="identifier">bit</span><span class="special">&gt;</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix <code><span class="identifier">BOOST_TEST_EQ</span></code>,
|
||
<code><span class="identifier">BOOST_TEST_NE</span></code> for
|
||
character types under C++20.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Revise allocator access utilities (now support VS2013, and no workarounds
|
||
use <code><span class="identifier">allocator_traits</span></code>.)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/dll/">DLL</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<strong>BREAKING CHANGE</strong>: <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">dll</span><span class="special">::</span><span class="identifier">import</span></code>
|
||
was renamed to <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">dll</span><span class="special">::</span><span class="identifier">import_symbol</span></code>
|
||
to avoid collision with C++20 <code><span class="identifier">import</span></code>
|
||
keyword.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Updated docs, including FAQ section.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/filesystem/">Filesystem</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Updated compatibility with WASI platform. (<a href="https://github.com/boostorg/filesystem/pull/169">PR#169</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed an exception being thrown by <code><span class="identifier">path</span><span class="special">::</span><span class="identifier">remove_filename</span></code>
|
||
if the path is "////". (<a href="https://github.com/boostorg/filesystem/issues/176">#176</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <code><span class="identifier">create_directories</span></code>
|
||
disregarding errors from file status query operations issued internally.
|
||
This could result in incorrect error codes returned by <code><span class="identifier">create_directories</span></code>. (<a href="https://github.com/boostorg/filesystem/issues/182">#182</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/gil/">GIL</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
BREAKING: In next release, we are going to drop support for GCC 5.
|
||
We will also change the required minimum C++ version from C++11 to
|
||
C++14.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/histogram/">Histogram</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
This release contains critical fixes, please check that your results
|
||
are not affected.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
See <a href="https://www.boost.org/libs/histogram/doc/html/histogram/history.html">Release
|
||
Notes</a> for details.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/intrusive/">Intrusive</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Reduced compile-time dependencies:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">linear_slist_algorithms</span></code>
|
||
use a simple node_ptr instead of std::pair on return.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">list</span></code>/<code><span class="identifier">slist</span></code> use <code><span class="keyword">operator</span>
|
||
<span class="special">&lt;</span></code>/<code><span class="keyword">operator</span>
|
||
<span class="special">==</span></code> instead of <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">equal_to</span></code>/<code><span class="identifier">std</span><span class="special">::</span><span class="identifier">less</span></code>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <a href="https://github.com/boostorg/intrusive/issues/54">GitHub
|
||
#54: <em>set.rbegin() looks like O(log(N))</em></a>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/interprocess/">Interprocess</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="keyword">wchar_t</span></code> API support
|
||
for named resources in operating systems that offer native wide character
|
||
API (e.g. Windows). The following classes were updated with <code><span class="keyword">wchar_t</span></code> name support:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">file_mapping</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">managed_mapped_file</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">managed_shared_memory</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">managed_windows_shared_memory</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">shared_memory_object</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">windows_shared_memory_object</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">file_lock</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">named_condition</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">named_condition_any</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">named_mutex</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">named_recursive_mutex</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">named_semaphore</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">named_sharable_mutex</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">named_upgradable_mutex</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">message_queue</span></code>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION</span></code>
|
||
macro option to disable the use of generic emulation code for process
|
||
shared synchronization primitives instead of native POSIX or Winapi
|
||
functions.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed bugs:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/issues/76">GitHub
|
||
#76 (<em>"Cygwin compilation errors"</em>)</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/pull/83">GitHub
|
||
#83 (<em>"Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION
|
||
option"</em>)</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/pull/92">GitHub
|
||
#92 (<em>"bufferstream: Correct MSVC compilation
|
||
warning"</em>)</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/pull/106">GitHub
|
||
#106 (<em>"Use fallocate on truncate_file"</em>)</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/issues/120">GitHub
|
||
#120 (<em>"segment_manager customization"</em>)</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/issues/122">GitHub
|
||
#122 (<em>"Mark constructors/assignment/swap noexcept
|
||
where possible"</em>)</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/issues/126">GitHub
|
||
#126 (<em>"_ReadWriteBarrier is deprecated warning
|
||
when compiling with clang-cl.exe"</em>)</a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/json/">JSON</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://cppalliance.org/pdf/C%20Plus%20Plus%20Alliance%20-%20Boost%20JSON%20Security%20Assessment%202020%20-%20Assessment%20Report%20-%2020210317.pdf">Security
|
||
Report</a> from Bishop Fox.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
(<a href="https://github.com/boostorg/json/issues/481">#481</a>) Refactored <code><span class="identifier">value_from</span></code>
|
||
implementation; user customizations are now always preferred over
|
||
library-provided overloads.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
(<a href="https://github.com/boostorg/json/issues/484">#484</a>) Fix imprecise parsing for some floating point numbers.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
(<a href="https://github.com/boostorg/json/issues/485">#485</a>) Fix link errors in standalone mode, when used alongside
|
||
Boost.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
(<a href="https://github.com/boostorg/json/issues/497">#497</a>) Fix Boost.Build builds on GCC 4.8.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/lexical_cast/">LexicalCast</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Dropped dependency on Boost.Math (thanks to Peter Dimov <a href="https://github.com/boostorg/lexical_cast/issues/37">#37</a>,
|
||
<a href="https://github.com/boostorg/lexical_cast/issues/39">#39</a>).
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixes for the CI and coverage (thanks to Sam Darwin from "The
|
||
C++ Alliance" <a href="https://github.com/boostorg/lexical_cast/issues/38">#38</a>, <a href="https://github.com/boostorg/lexical_cast/issues/42">#42</a>).
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/log/">Log</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Bug fixes:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Corrected a formal race condition in the thread-safe log record
|
||
queue implementation used in the <code><span class="identifier">unbounded_fifo_queue</span></code>
|
||
policy of the <code><span class="identifier">asynchronous_sink</span></code>
|
||
frontend. The race could be detected by TSAN, but it was not
|
||
a real problem on most current CPU architectures and compilers.
|
||
(<a href="https://github.com/boostorg/log/issues/139">#139</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
When copying a logger with a channel attribute (e.g. <code><span class="identifier">channel_logger</span></code>), the channel
|
||
attribute is now deep-copied from the original logger. This
|
||
means that modifying the channel in the new logger will no
|
||
longer affect the original logger.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Replaced the use of <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special">&lt;</span><span class="keyword">void</span><span class="special">&gt;</span></code> in template parameters
|
||
with a new tag type <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">log</span><span class="special">::</span><span class="identifier">use_std_allocator</span></code>
|
||
to silence libc++ warnings about the former being deprecated
|
||
in C++17 and later. The tag indicates that the instantiated
|
||
template should be using a specialization of <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span></code> internally to allocate
|
||
dynamic memory, so the change has no functional effect. (<a href="https://github.com/boostorg/log/issues/141">#141</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Boost.Log no longer defines <code><span class="identifier">__MSVCRT_VERSION__</span></code>
|
||
macro on MinGW and MinGW-w64. Defining this macro caused incompatibility
|
||
with UCRT, which is available as an option in recent MinGW-w64.
|
||
(<a href="https://github.com/boostorg/log/pull/149">PR#149</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
See <a href="https://www.boost.org/libs/log/doc/html/log/changelog.html">changelog</a>
|
||
for more details.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/math/">Math</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<strong>Breaking Change:</strong> C++03 support is
|
||
now removed, a C++11 or later conformant compiler is now required
|
||
to use this library.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added <span class="link">Z-test</span>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added execution policy support to univariate and bivariate statistics:
|
||
enables parallel execution (requires C++17 and <code><span class="special">&lt;</span><span class="identifier">execution</span><span class="special">&gt;</span></code>).
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Big update/improvement on CI testing.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Bivariate statistics now have integer support.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
T-Test now has integer support.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Linear regression now has integer support.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Correct PDF of the beta distribution at the endpoints.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Correct use of Stirling's approximation in certain multiprecision
|
||
cases, fixes <a href="https://github.com/boostorg/math/issues/396">#396</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Eliminate -Wimplicit-int-float-conversion on clang.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix some constexpr issues in quaternion/octonion.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Minor performance fix to tanh_sinh integration.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Update hypergeometric functions internal scaling to allow for 64-bit
|
||
(long long) exponents with multiprecision types.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/move/">Move</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/move/issues/35">Git Issue
|
||
#35: <em>"New nothrow move traits are incomplete"</em></a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/multiprecision/">Multiprecision</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<strong>BREAKING CHANGE</strong>: Massive refactoring
|
||
and code simplification makes C++11 an absolute requirement.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Use BOOST_TRY/CATCH in headers so code can be used in exception-free
|
||
environments.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Correct corner case in pow, fixes <a href="https://github.com/boostorg/multiprecision/issues/277">#277</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Correct exception type thrown to match docs in lsb/msb: fixes <a href="https://github.com/boostorg/multiprecision/issues/257">#257</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Allow moves and operators between related but different types (ie
|
||
types with the same allocator), fixes <a href="https://github.com/boostorg/multiprecision/issues/278">#278</a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/nowide/">Nowide</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fix discarding of characters for text file streams when seek or sync
|
||
functions are used and newlines were converted (e.g. on Windows)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix potential use-after-free bug when reusing (via <code><span class="identifier">open</span></code>) a file stream that has been
|
||
closed
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix potential invalid memory access when using a file stream that
|
||
has been moved or swapped to where the source had a put-back character
|
||
or was set to unbuffered mode
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix compatibility with ucrt runtime by not defining <code><span class="identifier">__MSVCRT_VERSION__</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Known issues: Read performance for text files is degraded. Binary
|
||
files and writing is unaffected.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/optional/">Optional</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed MSVC warning C4702.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/outcome/">Outcome</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Announcements:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
BREAKING CHANGE: After a year and three major Boost releases
|
||
announcing this upcoming change, this is the FIRST RELEASE
|
||
of the v2.2 branch. This branch has a number of major breaking
|
||
changes to the Outcome v2.1 which shipped in Boost 1.75 and
|
||
earlier, see the documentation for details.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Enhancements:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
VS2019.8 changed how to enable Coroutines, which caused Outcome
|
||
to not compile on that compiler.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
If on C++ 20, we now use C++ 20 <code><span class="special">[[</span><span class="identifier">likely</span><span class="special">]]</span></code>
|
||
instead of compiler-specific markup to indicate when TRY has
|
||
likely success or failure.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
BREAKING CHANGE: Previously the value of <code><span class="identifier">spare_storage</span><span class="special">(</span><span class="keyword">const</span>
|
||
<span class="identifier">basic_result</span><span class="special">|</span><span class="identifier">basic_outcome</span> <span class="special">*)</span>
|
||
<span class="keyword">noexcept</span></code> was not propagated
|
||
over <code><span class="identifier">BOOST_OUTCOME_TRY</span></code>,
|
||
which causes things like stack backtraces captured at the point
|
||
of construction of an errored result to get dropped at every
|
||
<code><span class="identifier">TRY</span></code> point.
|
||
This has been fixed by adding an optional <code><span class="identifier">spare_storage</span></code>
|
||
to <code><span class="identifier">success_type</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;</span></code> and <code><span class="identifier">failure_type</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;</span></code>, as well as to <code><span class="keyword">auto</span> <span class="identifier">success</span><span class="special">(</span><span class="identifier">T</span>
|
||
<span class="special">&amp;&amp;,</span> <span class="special">...)</span></code>
|
||
and <code><span class="keyword">auto</span> <span class="identifier">failure</span><span class="special">(</span><span class="identifier">T</span>
|
||
<span class="special">&amp;&amp;,</span> <span class="special">...)</span></code>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Bug fixes:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Boost.Outcome should now compile with <code><span class="identifier">BOOST_NO_EXCEPTIONS</span></code>
|
||
defined. Thanks to Emil, maintainer of Boost.Exception, making
|
||
a change for me, Boost.Outcome should now compile with C++
|
||
exceptions globally disabled. You won't be able to use <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">exception_ptr</span></code> as it can't
|
||
be included if C++ exceptions are globally disabled.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
BREAKING CHANGE <a href="https://github.com/ned14/outcome/issues/244">#244</a>
|
||
It came as a shock to learn that <code><span class="identifier">BOOST_OUTCOME_TRY</span></code>
|
||
had been broken since the inception of this library for certain
|
||
corner case code, which required a breaking change in how TRY
|
||
works. See <a href="https://boostorg.github.io/outcome/changelog.html">the
|
||
changelog in the documentation for more detail</a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/parameter/">Parameter</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added a workaround for MSVC 2015 code miscompilation when an rvalue
|
||
was used as a default value of a named parameter of a function. (<a href="https://github.com/boostorg/parameter/pull/109">PR#109</a>,
|
||
<a href="https://github.com/boostorg/log/issues/132">#132</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/pfr/">PFR</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed reflection of types with missing <code><span class="keyword">const</span></code>
|
||
in SFINAE expressions in template constructor. Now reflection of
|
||
aggregates with <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">optional</span><span class="special">&lt;</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">chrono</span><span class="special">::</span><span class="identifier">duration</span><span class="special">&lt;???&gt;&gt;</span></code> fields works on any
|
||
Standard Library implementation, even if LWG3050 is not fixed.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Comparison functions are now <code><span class="keyword">constexpr</span></code>
|
||
<a href="https://github.com/boostorg/pfr/issues/52">#52</a>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed numerous typos in docs (thanks to Phil Miller <a href="https://github.com/boostorg/pfr/issues/63">#63</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/poly_collection/">PolyCollection</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Worked around <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95888">GCC
|
||
bug</a> affecting GCC versions 9.3-10.2 (issue <a href="https://github.com/boostorg/poly_collection/issues/20">#20</a>).
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/predef/">Predef</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Version 1.13
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add <code><span class="identifier">ARCH_PPC_64</span></code> predef.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix <code><span class="identifier">ARCH_WORD_BITS</span><span class="special">*</span></code> redefinition warnings/errors.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add <code><span class="identifier">ARCH_E2K</span></code>, Elbrus
|
||
2000, architecture from Konstantin Ivlev.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix not handling recent C++ version that go above 10.x version.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Version 1.12
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Switch to using the endian.h header on OpenBSD. (Brad Smith)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix not handling recent versions of stdcxx that go above version
|
||
9.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix including sub-BSD OS headers directly causing redef warnings.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add CI testing of direct inclusion of all headers.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add CI testing on FreeBSD for clang and gcc.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add <code><span class="identifier">WORD_BITS</span></code> set
|
||
of predefs to detect the architecture word size. Initial implementation
|
||
inspired by submission from Mikhail Komarov.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add CI testing for Cygwin 32 and 64.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/property_tree/">PropertyTree</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Property Tree has a new maintainer.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fix usage of deprecated Boost.Bind features.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Link to Wikipedia fixed.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Use BOOST_OVERRIDE to fix GCC warnings.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Add extensive CI testing.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/regex/">Regex</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Regex is now header only except in C++03 mode.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Support for C++03 is now deprecated.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The library can now be used "standalone" without the rest
|
||
of Boost being present.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/stacktrace/">Stacktrace</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Better support for pre-C++11 builds on clang <a href="https://github.com/boostorg/stacktrace/issues/102">#102</a>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Bigger warning for <strong>do not use boost::stacktrace::stacktrace
|
||
in signal handlers</strong> <a href="https://github.com/boostorg/stacktrace/issues/71">#71</a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/type_traits/">TypeTraits</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fix for Visual Studio managed code projects.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/variant2/">Variant2</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Improved generated code for the double buffered case.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_76_0.updated_tools">
|
||
<h3><span class="link">Updated Tools</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/tools/build/">Build</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Includes release of <a href="https://www.boost.org/tools/build/doc/html/#_version_4_4_1">B2
|
||
version 4.4.1</a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_76_0.compilers_tested">
|
||
<h3><span class="link">Compilers Tested</span></h3>
|
||
<p>
|
||
Boost's primary test compilers are:
|
||
</p>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Linux:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 3.0, 4.0.1, 6.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++0x: 3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0,
|
||
9.0.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2,
|
||
6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.4.7
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.3.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Intel, C++14: 18.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
OS X:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Apple Clang: 9.0.0, 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++17: 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++1z: 9.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++2a: 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Windows:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.6.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
FreeBSD:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++1z: 4.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<p>
|
||
Boost's additional test compilers include:
|
||
</p>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Linux:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++0x: 3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2,
|
||
6.0.1, 7.0.0, 8.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.4.7
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1, 8.1.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.3.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Intel, C++14: 18.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
OS X:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Apple Clang: 9.0.0, 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++17: 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++1z: 9.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++2a: 10.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Windows:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.6.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
FreeBSD:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++1z: 4.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_76_0.acknowledgements">
|
||
<h3><span class="link">Acknowledgements</span></h3>
|
||
<p>
|
||
Marshall Clow, Michael Caisse and Glen Fernandes managed this release.
|
||
</p>
|
||
</div>
|
||
</description></item><item><title>Version 1.75.0</title><link>https://www.boost.org/users/history/version_1_75_0.html</link><guid>https://www.boost.org/users/history/version_1_75_0.html</guid><pubDate>Fri, 11 Dec 2020 19:50:02 +0000</pubDate><description>
|
||
|
||
|
||
<div id="version_1_75_0.known_issues">
|
||
<h3><span class="link">Known Issues</span></h3>
|
||
<p>
|
||
Boost.Operators is currently <strong>incompatible with C++20</strong>
|
||
compilers, which in some cases may manifest as an infinite recursion or infinite
|
||
loop in runtime when a comparison operator is called. The problem is caused
|
||
by the new operator rewriting behavior introduced in C++20. As a workaround,
|
||
users are advised to target C++17 or older C++ standard. More details can be
|
||
found in <a href="https://github.com/boostorg/utility/issues/65">#65</a>.
|
||
</p>
|
||
</div>
|
||
<div id="version_1_75_0.new_libraries">
|
||
<h3><span class="link">New Libraries</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/json/">JSON</a>:</span> JSON parsing, serialization,
|
||
and DOM in C++11, from Vinnie Falco and Krystian Stasiowski.
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fast compilation requiring only C++11
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Easy and safe modern API with allocator support
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Compile without Boost, define <code><span class="identifier">BOOST_JSON_STANDALONE</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Optional header-only, without linking to a library
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/leaf/">LEAF</a>:</span> A lightweight error-handling
|
||
library for C++11, from Emil Dotchevski.
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Small single-header format, no dependencies.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Designed for maximum efficiency ("happy" path and "sad"
|
||
path).
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
No dynamic memory allocations, even with heavy payloads.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
O(1) transport of arbitrary error types (independent of call stack
|
||
depth).
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Can be used with or without exception handling.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/pfr/">PFR</a>:</span> Basic reflection without macro
|
||
or boilerplate code for user defined types, from Antony Polukhin.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_75_0.updated_libraries">
|
||
<h3><span class="link">Updated Libraries</span></h3>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/asio/">Asio</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Enabled support for UNIX domain sockets on Windows.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added executor-converting construction and assignment to <code><span class="identifier">ip</span><span class="special">::</span><span class="identifier">basic_resolver</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added compatibility between polymorphic executors and the (deprecated)
|
||
handler invocation hook.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the <code><span class="identifier">experimental</span><span class="special">::</span><span class="identifier">as_single</span></code>
|
||
completion token adapter.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added support for <code><span class="identifier">MSG_NOSIGNAL</span></code>
|
||
on more platforms by using <code><span class="identifier">_POSIX_VERSION</span></code>
|
||
to detect whether it is supported.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added the ability to compile using libpthread on Windows.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added workarounds for the Intel C++ compiler.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added more support for detecting and optimising for handlers that
|
||
have no custom executor.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Reduced lock contention for timer cancellation on Windows.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Reinstated a previously removed null-pointer check, as it had a measurable
|
||
impact on performance.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed the <code><span class="identifier">executor</span></code>
|
||
concept to test for a const-qualified <code><span class="identifier">execute</span><span class="special">()</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <code><span class="identifier">any_executor</span></code>
|
||
support for builds without RTTI support.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed the <code><span class="identifier">thread_pool</span></code>
|
||
unit test to work without RTTI support.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed C++20 coroutines compatibility with clang on Windows.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed some compatibility issues with Windows Runtime.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed shadow name warnings caused by addition of <code><span class="identifier">asio</span><span class="special">::</span><span class="identifier">query</span></code>.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed a "logical ‘or’ of equal expressions" warning
|
||
on linux.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed a benign switch fallthrough warning.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added missing <code><span class="identifier">push</span><span class="special">/</span><span class="identifier">pop_options</span><span class="special">.</span><span class="identifier">hpp</span></code>
|
||
includes.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Suppressed zero-as-null-pointer-constant warnings.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed a comma-operator warning.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Updated the documentation to clarify when the <tt>select</tt>
|
||
reactor is used on Windows.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed potential ambiguity caused by <code><span class="identifier">any_executor</span></code>
|
||
comparisons and conversion.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Added detection of non-experimental C++20 coroutines on MSVC 19.8.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed compatibility with uClibc.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <code><span class="identifier">strand</span><span class="special">&lt;&gt;</span></code>
|
||
adaptation of Networking TS executors when targeting older C++ versions
|
||
or less conformant compilers.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Consult the <a href="https://www.boost.org/doc/libs/1_75_0/doc/html/boost_asio/history.html">Revision
|
||
History</a> for further details.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/atomic/">Atomic</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Implemented SSE2 and SSE4.1 versions of address lookup algorithm,
|
||
which is used in the internal lock pool implementation. This may
|
||
improve performance of waiting and notifying operations in heavily
|
||
contended cases.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed a possible compilation error on AArch64 targets caused by incorrect
|
||
instructions generated for bitwise (logical) operations with immediate
|
||
constants. (<a href="https://github.com/boostorg/atomic/issues/41">#41</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/beast/">Beast</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
This update brings bug fixes and support for the <code><span class="identifier">BOOST_ASIO_ENBALE_HANDLER_TRACKING</span></code>
|
||
compile flag from Boost.Asio:
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
We'd love to know how you or your company use Beast, consider adding
|
||
an entry to the <a href="https://github.com/boostorg/beast/wiki/Companies-and-Individuals-Using-Beast">Companies
|
||
and Individuals Using Beast</a> list.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
See the full <a href="https://www.boost.org/libs/beast/doc/html/beast/release_notes.html">Release
|
||
Notes</a> for a complete list of changes.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/container/">Container</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
New <code>devector</code>
|
||
container.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed bugs/issues:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/152">#152</a> Tree-based containers have troubles with move-only
|
||
types.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/156">#156</a> Compile error with vector.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/pull/157">PR#157</a> Add missing include.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/159">#159</a>: pmr::monotonic_buffer_resource crashes on
|
||
large single allocations.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/160">#160</a>: Usage of uses_allocator needs a remove_cvref_t.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/162">#162</a>: small_vector on MSVC x86 call-by-value crash.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/161">#161</a>: polymorphic_allocator(memory_resource*) non-standard
|
||
extension causes headache.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/pull/163">PR#163</a>: container_rebind for small_vector with
|
||
options.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/165">#165</a>: Link error with shared library and memory_resource
|
||
inline members.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/pull/166">PR#166</a>: Fix encoding error in copyright headers.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/pull/167">PR#167</a>: error: the address of 'msg' will always
|
||
evaluate as 'true' warning with GCC 4.4.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/container/issues/169">#169</a>: flood of warnings building dlmalloc_ext_2_8_6.c
|
||
on clang11.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/endian/">Endian</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">endian_arithmetic</span></code>
|
||
no longer inherits from <code><span class="identifier">endian_buffer</span></code>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
When <code><span class="identifier">BOOST_ENDIAN_NO_CTORS</span></code>
|
||
is defined, the unaligned <code><span class="identifier">endian_buffer</span></code>
|
||
and <code><span class="identifier">endian_arithmetic</span></code>
|
||
are C++03 PODs, to enable use of <code><span class="identifier">__attribute__</span><span class="special">((</span><span class="identifier">packed</span><span class="special">))</span></code>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/filesystem/">Filesystem</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<strong>New:</strong> Added <code><span class="identifier">creation_time</span></code>
|
||
operation, which allows to obtain file creation time. (Inspired by
|
||
<a href="https://github.com/boostorg/filesystem/pull/134">PR#134</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The returned value of <code><span class="identifier">last_write_time</span><span class="special">(</span><span class="identifier">p</span><span class="special">,</span> <span class="identifier">ec</span><span class="special">)</span></code> operation in case of failure has
|
||
been changed to a minimal value representable by <code><span class="identifier">std</span><span class="special">::</span><span class="identifier">time_t</span></code>
|
||
instead of -1.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The returned value of <code><span class="identifier">hard_link_count</span><span class="special">(</span><span class="identifier">p</span><span class="special">,</span> <span class="identifier">ec</span><span class="special">)</span></code> operation in case of failure has
|
||
been changed to <code><span class="keyword">static_cast</span><span class="special">&lt;</span><span class="identifier">uintmax_t</span><span class="special">&gt;(-</span><span class="number">1</span><span class="special">)</span></code> instead of 0.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On POSIX systems, <code><span class="identifier">file_size</span></code>
|
||
will now indicate error code <code><span class="identifier">errc</span><span class="special">::</span><span class="identifier">function_not_supported</span></code>
|
||
if the path resolves to a non-regular file. Previously, <code><span class="identifier">errc</span><span class="special">::</span><span class="identifier">operation_not_permitted</span></code> was reported.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On Linux, many operations now use <code><span class="identifier">statx</span></code>
|
||
system call internally, when possible, which allows to reduce the
|
||
amount of information queried from the filesystem and potentially
|
||
improve performance. The <code><span class="identifier">statx</span></code>
|
||
system call was introduced in Linux kernel 4.11.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Removed <code><span class="keyword">const</span></code>-qualification
|
||
from return types of some <code><span class="identifier">path</span></code>
|
||
methods. This could prevent move construction and move assignment
|
||
at the call site in some cases. (<a href="https://github.com/boostorg/filesystem/issues/160">#160</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On OpenBSD 4.4 and newer, use <code><span class="identifier">statvfs</span></code>
|
||
system call to obtain filesystem space information. (Inspired by
|
||
<a href="https://github.com/boostorg/filesystem/pull/162">PR#162</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
On Windows, <code><span class="identifier">space</span></code>
|
||
now returns with an error if the provided path does not idendify
|
||
an existing file. (<a href="https://github.com/boostorg/filesystem/issues/167">#167</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/geometry/">Geometry</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
WARNING: Following the deprecation notice of C++03 issued with Boost
|
||
1.73, from now on the Boost.Geometry requires a capable C++14 compiler.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/gil/">GIL</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
BREAKING: In next release, we are going to drop support for GCC 5.
|
||
We may also change the required minimum C++ version from C++11 to
|
||
C++14.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/histogram/">Histogram</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
This update brings
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Bug-fixes for corner-cases
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Small documentation improvements
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixes for new warnings from latest compilers and when compiling
|
||
against the C++20 standard
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
See the full <a href="https://www.boost.org/libs/histogram/doc/html/histogram/history.html">Release
|
||
Notes</a> for a complete list of changes.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/interprocess/">Interprocess</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed bugs:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/interprocess/issues/127">#127</a>: static assertion failure with boost interprocess
|
||
1.74 and basic_managed_shared_memory.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/intrusive/">Intrusive</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed bugs:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/intrusive/pull/48">PR#48</a>: MSVC "assignment within conditional"
|
||
warning fix.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/intrusive/pull/49">PR#49</a>: Fix empty control statement warnings.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/intrusive/issues/52">#52</a>: Invalid casting in BOOST_INTRUSIVE_BSR_INTRINSIC.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/log/">Log</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Bug fixes:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Corrected the file counter that would be used in <code><span class="identifier">text_file_backend</span></code> when generating
|
||
the target file name (based on the pattern set by <code><span class="identifier">set_target_file_name_pattern</span></code>
|
||
method) when the log file is rotated. (<a href="https://github.com/boostorg/log/issues/125">#125</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Replaced a volatile version counter in <code><span class="identifier">basic_sink_frontend</span></code>
|
||
with an atomic. (<a href="https://github.com/boostorg/log/issues/128">#128</a>)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
In the <code><span class="identifier">asynchronous_sink</span></code>
|
||
frontend, resolved a possible conflict between <code><span class="identifier">flush</span></code> and <code><span class="identifier">run</span></code>
|
||
methods, if <code><span class="identifier">run</span></code>
|
||
is called from a user's thread instead of the internal dedicated
|
||
thread spawned by the frontend. (<a href="https://github.com/boostorg/log/issues/131">#131</a>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
See <a href="https://www.boost.org/libs/log/doc/html/log/changelog.html">changelog</a>
|
||
for more details.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/move/">Move</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fixed bugs:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/move/issues/30">#30</a>: (void) C-cast is a non-portable way of suppressing
|
||
compiler warnings.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/mp11/">Mp11</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added <code><span class="identifier">mp_pairwise_fold</span></code>
|
||
(suggested by Barry Revzin)
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Removed <code><span class="identifier">mp_invoke</span></code>
|
||
(use <code><span class="identifier">mp_invoke_q</span></code>)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/optional/">Optional</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">none</span></code> is <code><span class="keyword">constexpr</span></code>-declared.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed <a href="https://github.com/boostorg/optional/issues/78">issue
|
||
#78</a>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/outcome/">Outcome</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Announcements:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
After a year and three major Boost releases announcing this
|
||
upcoming change, this is the FINAL RELEASE of the v2.1 branch.
|
||
From Boost 1.76 onwards, the v2.2 branch becomes the default.
|
||
This branch has a number of major breaking changes to Outcome
|
||
v2.1, see the documentation for details.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Enhancements:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
The ADL discovered event hooks have been replaced with policy-specified
|
||
event hooks instead. This is due to brittleness (where hooks
|
||
would quietly self-disable if somebody changed something),
|
||
compiler bugs (a difference in compiler settings causes the
|
||
wrong hooks, or some but not all hooks, to get discovered),
|
||
and end user difficulty in using them at all. The policy-specified
|
||
event hooks can be told to default to ADL discovered hooks
|
||
for backwards compatibility: set <code><span class="identifier">OUTCOME_ENABLE_LEGACY_SUPPORT_FOR</span></code>
|
||
to less than <code><span class="number">220</span></code>
|
||
to enable emulation.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Improve configuring <code><span class="identifier">OUTCOME_GCC6_CONCEPT_BOOL</span></code>.
|
||
Older GCCs had boolean based concepts syntax, whereas newer
|
||
GCCs are standards conforming. However the precise logic of
|
||
when to use legacy and conforming syntax was not well understood,
|
||
which caused Outcome to fail to compile depending on what options
|
||
you pass to GCC. The new logic always uses the legacy syntax
|
||
if on GCC 8 or older, otherwise we use conforming syntax if
|
||
and only if GCC is in C++ 20 mode or later. This hopefully
|
||
will resolve the corner case build failures on GCC.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Bug fixes:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Boost.Outcome should now compile with <code><span class="identifier">BOOST_NO_EXCEPTIONS</span></code>
|
||
defined. Thanks to Emil, maintainer of Boost.Exception, making
|
||
a change for me, Boost.Outcome should now compile with C++
|
||
exceptions globally disabled. You won't be able to use <code><span class="identifier">boost</span><span class="special">::</span><span class="identifier">exception_ptr</span></code> as it can't
|
||
be included if C++ exceptions are globally disabled.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/ned14/outcome/issues/236">#236</a>
|
||
In the Coroutine support the <code><span class="identifier">final_suspend</span><span class="special">()</span></code> was not <code><span class="keyword">noexcept</span></code>,
|
||
despite being required to be so in the C++ 20 standard. This
|
||
has been fixed, but only if your compiler implements <code><span class="identifier">noop_coroutine</span></code>. Additionally,
|
||
if <code><span class="identifier">noop_coroutine</span></code>
|
||
is available, we use the much more efficient coroutine handle
|
||
returning variant of <code><span class="identifier">await_suspend</span><span class="special">()</span></code> which should significantly
|
||
improve codegen and context switching performance.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/polygon/">Polygon</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
C++20 fixes for <code><span class="identifier">event_comparison_type</span></code>,
|
||
<code><span class="identifier">vertex_equality_predicate_type</span></code>,
|
||
and <code><span class="identifier">voronoi_predicates</span></code>.
|
||
(Glen Fernandes)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/preprocessor/">Preprocessor</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
When variadic data is empty in C++20 mode with __VA_OPT__ support
|
||
the variadic size has been corrected to be 0. This also means that
|
||
in this C++20 mode it is now valid to convert to and from empty arrays
|
||
and lists and variadic data. The end-user can read the "C++20
|
||
Support For Variadic Macros" part of the "variadic macros"
|
||
topic for more information about empty variadic data in the library.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The macro BOOST_PP_IS_STANDARD() has been added for identifying if
|
||
the currently used preprocessor is a C++ standard conforming preprocessor.
|
||
A number of preprocessors which generally work correctly with the
|
||
library but need various internal workarounds, including the currently
|
||
default VC++ preprocessor, are not considered C++ standard conforming
|
||
preprocessors. However most preprocessors, including among others
|
||
gcc, clang, and the new but currently non-default VC++ preprocessor
|
||
in VS2019, are C++ standard conforming preprocessors.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
For C++ standard conforming preprocessors a number of the limits
|
||
defined in the config/limits.hpp can now be changed to higher amounts
|
||
for a TU. The end-user should read the "limitations" topic
|
||
to understand how and which limits can be changed.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
For C++ standard conforming preprocessors, in order to allow the
|
||
maximum number of FOR and WHILE iterations, the beginning 'r' and
|
||
'd' iteration numbers in the user-defined macros start at 1 and not
|
||
2, as it did in previous releases. This could be a breaking change
|
||
if these iteration numbers are used in the user-defined macros (
|
||
they probably would not be ), but the change was necessary to fix
|
||
some arcane bugs when dealing with numerical/logical operations with
|
||
maximum numbers as well to allow the user-defined macros to be called
|
||
the correct possible maximum number of times. For non-C++ conforming
|
||
preprocessors, this change was not made because those non-conforming
|
||
C++ preprocessors generally have limitations which disallow the maximum
|
||
number of looping constructs to be run, and it was felt not to introduce
|
||
a possible breaking change to those more fragile preprocessors would
|
||
be better. It was also felt that besides fixing some arcane preprocessor
|
||
bugs and providing the possible maximum number of user-defined macro
|
||
invocations, this change could be made because it has never been
|
||
documented what the starting 'r' and 'd' iteration numbers actually
|
||
are but only that these numbers are incremented for each iteration.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The library has been upgraded to assume variadic macro support for
|
||
any compiler working with the library. Ostensibly this means that
|
||
the library is now a C++11 on up library, yet most of the major compilers,
|
||
including gcc, clang, and VC++, also support variadic macros in C++98/C++03
|
||
mode as long as strict compliance to C++98/C++03 is not turned on
|
||
when using one of those compilers.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/rational/">Rational</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Fix Rational operators to not break under new C++20 <code><span class="keyword">operator</span><span class="special">==</span></code>
|
||
rewriting rules. (Glen Fernandes)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/signals2/">Signals2</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Correct C++ allocator model support to fix compilation in C++20 standards
|
||
mode. (Glen Fernandes)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/system/">System</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
The platform-specific headers <code><span class="identifier">windows_error</span><span class="special">.</span><span class="identifier">hpp</span></code>,
|
||
<code><span class="identifier">linux_error</span><span class="special">.</span><span class="identifier">hpp</span></code>, and <code><span class="identifier">cygwin_error</span><span class="special">.</span><span class="identifier">hpp</span></code>
|
||
emit deprecation messages and are slated for removal.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The old names for <code><span class="identifier">generic_category</span><span class="special">()</span></code> and <code><span class="identifier">system_category</span><span class="special">()</span></code> emit deprecation messages and are
|
||
slated for removal.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<code><span class="identifier">error_condition</span><span class="special">::</span><span class="identifier">failed</span></code> is deprecated and is slated
|
||
for removal. <code><span class="keyword">operator</span> <span class="keyword">bool</span><span class="special">()</span></code>
|
||
for <code><span class="identifier">error_condition</span></code>
|
||
has been reverted to its old meaning of <code><span class="identifier">value</span><span class="special">()</span> <span class="special">!=</span> <span class="number">0</span></code>. This is done for compatibility with
|
||
<code><span class="identifier">std</span><span class="special">::</span><span class="identifier">error_condition</span></code> as the next release
|
||
is expected to improve interoperability with <code><span class="special">&lt;</span><span class="identifier">system_error</span><span class="special">&gt;</span></code>
|
||
even further. <em>Note that this does not
|
||
affect</em> <code><span class="identifier">error_code</span><span class="special">::</span><span class="identifier">failed</span></code>,
|
||
which is still alive and well.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The overload of <code><span class="identifier">error_condition</span><span class="special">::</span><span class="identifier">message</span></code>
|
||
that takes a buffer is deprecated and is slated for removal, for
|
||
the same reasons. <em>Note that this does
|
||
not affect</em> <code><span class="identifier">error_code</span><span class="special">::</span><span class="identifier">message</span></code>.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/numeric/ublas/">uBLAS</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Correct C++ allocator model support to fix compilation in C++20 standards
|
||
mode. (Glen Fernandes and Conrad Poelman)
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/vmd/">VMD</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
The VMD number parsing has been upgraded to support the ability for
|
||
the end-user to change the number limits in the Preprocessor library.
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
The macro BOOST_VMD_IS_GENERAL_IDENTIFIER has been added to support
|
||
the parsing of input that represents a preprocessor token which matches
|
||
the VMD identifier syntax, without having to register the identifier
|
||
as a specific identifier.
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
<span class="library"><a href="https://www.boost.org/libs/wave/">Wave</a>:</span>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Added new C++20 tokens, including the spaceship operator &lt;=&gt;
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Fixed bugs:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
<a href="https://github.com/boostorg/wave/issues/94">#94</a>: fix incorrect behavior of __LINE__ and __FILE__
|
||
under rescanning
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_75_0.compilers_tested">
|
||
<h3><span class="link">Compilers Tested</span></h3>
|
||
<p>
|
||
Boost's primary test compilers are:
|
||
</p>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Linux:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 3.0, 4.0.1, 6.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++0x: 3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0,
|
||
9.0.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2,
|
||
6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.4.7
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.3.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Intel, C++14: 18.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
OS X:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Apple Clang: 9.0.0, 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++17: 9.1.0, 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++1z: 9.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++2a: 10.0.0, 11.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Windows:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.6.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
FreeBSD:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++1z: 4.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<p>
|
||
Boost's additional test compilers include:
|
||
</p>
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Linux:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++0x: 3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2,
|
||
6.0.1, 7.0.0, 8.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.4.7
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1, 8.1.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.3.0, 8.0.1
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Intel, C++14: 18.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
OS X:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Apple Clang: 9.0.0, 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++17: 9.1.0, 10.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++1z: 9.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Apple Clang, C++2a: 10.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Windows:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++0x: 4.6.4
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
FreeBSD:
|
||
<ul>
|
||
<li>
|
||
<div>
|
||
Clang: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++11: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++14: 4.0.0
|
||
</div>
|
||
</li>
|
||
<li>
|
||
<div>
|
||
Clang, C++1z: 4.0.0
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div id="version_1_75_0.acknowledgements">
|
||
<h3><span class="link">Acknowledgements</span></h3>
|
||
<p>
|
||
Marshall Clow, Michael Caisse and Glen Fernandes managed this release.
|
||
</p>
|
||
</div>
|
||
</description></item>
|
||
</channel>
|
||
</rss>
|