Posted
over 3 years
ago
New Libraries
STLInterfaces: A library
of CRTP bases to ease the writing of STL views, iterators, and sequence
containers, from Zach Laine.
Updated Libraries
... [More]
Asio:
Added an implementation of the proposed standard executors (P0443r13, P1348r0,
and P1393r0).
Added support for the proposed standard executors to Asio's I/O facilities.
The supplied executors now meet the requirements for the proposed
standard executors. These classes also continue to meet the
existing requirements for the Networking TS model of executors.
All I/O objects, asynchronous operations, and utilities will
interoperate with both new proposed standard executors, and
with existing Networking TS executors.
The any_io_executor
type alias has been introduced as the default runtime-polymorphic
executor for all I/O objects. This defaults to the execution::any_executor<>
template. If required for backward compatibility, BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT
can be defined to use the old asio::executor
polymorphic wrapper instead.
Support for the existing Networking TS model of executors can
be disabled by defining BOOST_ASIO_NO_TS_EXECUTORS.
Added converting move construction and assignment to basic_waitable_timer.
Enabled C++20 coroutine support when using gcc
10.
Added overloads of co_spawn
that launch an awaitable.
Added a new constructor overload to use_awaitable_t's
default executor adapter, to enable conversion between executor types.
Added support for using detached_t
as a default completion token, by adding members as_default_on() and as_default_on_t<>.
Added a move constructor to ssl::stream<>.
Changed ssl::stream<>
write operations to linearise gather-write buffer sequences.
Added compile-time detection of the deprecated asio_handler_invoke,
asio_handler_allocate,
and asio_handler_deallocate
hooks, when BOOST_ASIO_NO_DEPRECATED
is defined.
Implemented a number of performance optimisations.
Added source location support to handler tracking.
Implemented various improvements to the handlerviz.pl
tool.
Added the handlerlive.pl tool, which processes
handler tracking output to produce a list of "live" handlers.
Added the handlertree.pl tool, which filters handler
tracking output to include only those events in the tree that produced
the nominated handlers.
Added changes for clang-based Embarcadero C++ compilers.
Fixed a deadlock that can occur when multiple threads concurrently
initialise the Windows I/O completion port backend.
Fixed async_compose
to work with copyable handlers when passed by lvalue.
Fixed completion signature deduction in co_spawn.
Removed a spurious Executor
base class from the executor_binder
implementation.
Various fixes and improvements in the documentation and examples.
Consult the Revision
History for further details.
Atomic:
Added missing const
qualifiers to some operations in atomic_ref.
Added support for yield
instruction on ARMv8-A. The instruction is used internally in spin
loops to reduce CPU power consumption.
Added support for C++20 waiting
and notifying operations. The implementation includes generic
backend that involves the internal lock pool, as well as specialized
backends for Windows, Linux, FreeBSD, DragonFly BSD and NetBSD. Atomic
types provide a new method has_native_wait_notify,
a static boolean constant always_has_native_wait_notify
and a set of capability macros that allow to detect if the implementation
supports native waiting and notifying operations for a given type.
Changed internal representation of atomic_flag
to use 32-bit storage. This allows for more efficient waiting and
notifying operations on atomic_flag
on some platforms.
Added support for build-time configuration of the internal lock pool
size. The user can define the BOOST_ATOMIC_LOCK_POOL_SIZE_LOG2
macro to specify binary logarithm of the size of the lock pool. The
default value is 8, meaning that the size of the lock pool is 256,
up from 64 used in the previous release.
Added support for a new set of atomic types dedicated for inter-process
communication: ipc_atomic_flag,
ipc_atomic and ipc_atomic_ref. Users are recommended
to port their code using non-IPC types for inter-process communication
to the new types. The new types provide the same set of operations
as their non-IPC counterparts, with the following differences:
Most operations have an added precondition that is_lock_free returns true for the given atomic object.
The library will issue a compile time error if this precondition
is known to be not satisfied at compile time.
All provided operations are address-free, meaning that the
atomic object (in case of ipc_atomic_ref
- the referenced object) may be located in process-shared memory
or mapped into the same process at multiple different addresses.
The new has_native_wait_notify
operation and always_has_native_wait_notify
constant indicate support for native inter-process waiting
and notifying operations. When that support is not present,
the operations are implemented with a busy loop, which is less
efficient, but still is address-free. A separate set of capability
macros is also provided to indicate this support.
Added new atomic_unsigned_lock_free
and atomic_signed_lock_free
types introduced in C++20. The types indicate the atomic object type
for an unsigned or signed integer, respectively, that is lock-free
and preferably has native support for waiting and notifying operations.
Added new gcc assembler backends for ARMv8-A (for both AArch32 and
AArch64). The new backends are used to implement operations not supported
by compiler intrinsics (including 128-bit operations on AArch64)
and can also be used when compiler intrinsics are not available.
Both little and big endian targets are supported. AArch64 backend
supports extensions defined in ARMv8.1 and ARMv8.3.
Added support for big endian targets in the legacy ARM backend based
on gcc assembler blocks (this backend is used on ARMv7 and older
targets). Previously, the backend assumed little endian memory layout,
which is significant for 64-bit operations.
Improved performance of seq_cst stores and thread fences on x86 by
using lock-prefixed
instructions instead of mfence.
This means that the operations no longer affect non-temporal stores,
which was also not guaranteed before. Use specialized instructions
and intrinsics to order non-temporal memory accesses.
Fixed capability macros for 80-bit long
double on x86 targets not
indicating lock-free operations even if 128-bit atomic operations
were available.
Fixed compilation of gcc asm blocks on Alpha targets.
In the gcc __sync* intrinsics backend, fixed that store
and load operations of large objects (larger than a pointer size)
could be non-atomic. The implementation currently assumes that small
objects can be stored with a single instruction atomically on all
modern architectures.
Beast:
This update brings bug fixes and support for the following changes
changes in Boost.Asio:
Beast supports BOOST_ASIO_NO_DEPRECATED.
Define this to help identify areas of your Beast and Asio code which
use deprecated Asio interfaces.
Beast also supports BOOST_ASIO_NO_TS_EXECUTORS.
Define this to identify uses of executors from the now potentially
outdated Networking
TS
Asio will use the Standard
Executors model by default. You can prevent this behaviour
by defining BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT
in which the Networking TS model will be used by default. Setting
this flag does not prevent a program from using executors from the
Standard Executors model explicitly.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Bimap:
Correct allocator usage (fixes C++20 compilation). (Glen Fernandes)
Config:
Implement BOOST_NO_CXX11_OVERRIDE
and BOOST_OVERRIDE.
(Glen Fernandes)
Core:
Implemented the allocator access utilities which provide a replacement
for allocator_traits
with individual traits and functions for each facility. They support
the C++11 allocator model when possible and provide a fallback for
C++98 compatibility. These are now used in Circular_Buffer, Wave,
Lockfree, Heap, Smart_Ptr, Dynamic_Bitset, Format, Bimap and more.
(Glen Fernandes)
DLL:
Multiple fixes for the library_info
work on empty shared objects.
Compilation fixes for C++98 and C++11 modes (#28).
Fixes for smart_library
manglings (thanks to XiaLiChao82 #37).
Endian:
Enabled scoped enumeration types in endian_reverse.
Enabled bool, enum, float,
double in endian_reverse_inplace.
Added an overload of endian_reverse_inplace
for arrays.
Filesystem:
Removed compile-time checks for support for symlinks and hardlink
on Windows. Instead, a runtime check is used. (PR#142)
Fixed handling of reparse points in canonical
and read_symlink
on Windows. This also affects other algorithms that involve canonical and read_symlink
in their implementation. (PR#100, #85, #99,
#123, #125)
Fixed that read_symlink
on Windows could potentially fail or cause failures elsewhere with
a sharing violation error, if the same symlink was opened concurrently.
(#138)
Fixed that is_symlink(directory_entry) would always return false, even if the directory entry
actually referred to a symlink. (PR#148)
Added missing status inspection operation overloads for directory_entry and error_code (e.g. is_directory(directory_entry,
error_code&)).
Removed incorrect noexcept
specifications for the overloads not taking the error_code
arguments.
copy_file implementation
has been updated to perform checks on the source and target files,
as required by C++20 ([fs.op.copy.file]/4.1). In particular, the
operation will fail if the source or target file is not a regular
file or the source and target paths identify the same file.
copy_file on POSIX
systems will now also copy the source file permissions to the target
file, if the target file is overwritten.
New: Added copy_file
implementations based on sendfile
and copy_file_range
system calls on Linux, which may improve file copying performance,
especially on network filesystems.
Deprecated: The copy_option
enumeration that is used with the copy_file
operation is deprecated. As a replacement, the new enum copy_options (note the trailing
's') has been added. The new enum contains values similar to the
copy_options enum
from C++20. The old enum values are mapped onto the new enum. The
old enum will be removed in a future release.
New: Added copy_options::skip_existing
option, which allows copy_file
operation to succeed without overwriting the target file, if it exists.
New: Added copy_options::update_existing
option, which allows copy_file
operation to conditionally overwrite the target file, if it exists,
if its last write time is older than that of the replacement file.
New: copy_file
now returns bool, which
indicates whether the file was copied.
New, breaking change: copy operation has been extended
and reworked to implement behavior specified in C++20 [fs.op.copy].
This includes support for copy_options::recursive,
copy_options::copy_symlinks, copy_options::skip_symlinks,
copy_options::directories_only, copy_options::create_symlinks and copy_options::create_hard_links options. The
operation performs additional checks based on the specified options.
Applying copy to
a directory with default copy_options
will now also copy files residing in that directory (but not nested
directories or files in those directories).
New: Added create_directory
overload taking two paths. The second path is a path to an existing
directory, which is used as a source of permission attributes to
use in the directory to create.
Deprecated: copy_directory
operation has been deprecated in favor of the new create_directory
overload. Note that the two operations have reversed order of the
path arguments.
equivalent on POSIX
systems now returns the actual error code from the OS if one of the
paths does not resolve to a file. Previously the function would return
an error code of 1. (#141)
equivalent no longer
considers file size and last modification time in order to test whether
the two paths refer to the same file. These checks could result in
a false negative if the file was modified during the equivalent call.
New: Added absolute
overloads taking error_code
argument.
Operations that have current_path() as the default value of their arguments
and also have an error_code
argument will use the current_path(error_code& ec) overload to obtain the current path,
so that its failure is reported via the error_code
argument instead of an exception.
space now initializes
the space_info structure
members to -1 values on error, as required by C++20 ([fs.op.space]/1).
space on Windows
now accepts paths referring to arbitrary files, not only directories.
This is similar to POSIX systems and corresponds to the operation
description in C++20. (#73)
New: Added implementation of temp_directory_path for Windows
CE. (PR#25)
New: Improved compatibility with
WASI platform. (PR#144)
New: Improved support for Embarcadero
compilers. (PR#130)
New: Added implementations of unique_path operation based on
getrandom (Linux),
arc4random_buf (OpenBSD/FreeBSD/CloudABI)
and BCrypt (Windows) system APIs.
Deprecated: Auto-linking against
system libraries on Windows with MSVC-compatible compilers is deprecated
and will be removed in a future release. This affects users linking
against static library of Boost.Filesystem. Users are advised to
update their project build systems to either use a shared library
of Boost.Filesystem, or explicitly specify the dependencies of Boost.Filesystem
in the linker command line. Users of shared library of Boost.Filesystem
are not affected.
Flyweight:
Maintenance work.
Format:
Correct allocator usage (fixes C++20 compilation). (Glen Fernandes)
Geometry:
Improvements
PR#720 Additional R-tree constructors (thanks to
Caian Benedicto).
Various improvements in buffer, set and relational operations.
Solved issues
#709 memcpy called for object with no trivial copy-assignment.
#721 Compilation error in bgi::detail::rtree::visitors::insert.
#727 MSVC warning: conditional expression is constant.
Bugfixes
PR#700 Missing cases for default strategies in distance
algorithm.
PR#738 Longitudes out of range in direct geodesic
formulas.
GIL:
Added
Added new constructor initializing any_image
from r-value reference to any image (PR#486).
Implemented mechanism to reverse kernel_2d
(PR#489).
Changed
BREAKING: Replace Boost.Variant with Boost.Variant2 (PR#474)
which completes removal on uses of Boost.MPL (missing from
Boost 1.72.0 change added PR#274).
Use perfect forwarding from apply_operation to visit (PR#491).
Removed
BREAKING: Removed dependency on Boost.Variant
Fixed
Fixed invalid conversion from RGB8 to CMYK32 due to overflow
(PR#470).
Fixed image
constructor from other image (PR#477).
Fixed error plane_view_t
is not a class or namespace name (PR#481).
Fixed interleaved_view
factory using point<std::ptrdiff_t> for dimension (PR#487).
Fixed documentation replacing uses MPL with MP11 in tutorial
(PR#494).
Fixed missing header in numeric/kernel.hpp
to make it self-contained (PR#502).
Acknowledgements
Samuel Debionne, Pranam Lashkari, Mateusz Loskot, Debabrata
Mandal
Heap:
Correct destruction of top node in skew_heap.
(Glen Fernandes)
Correct and simplify allocator use. (Glen Fernandes)
Integer:
Fixed compilation of gcd
in C++20 mode with clang 10.
Improved support for Embarcadero compilers. (PR#21)
Iterator:
boost/function_output_iterator.hpp header is now deprecated. Users
should replace its inclusion with boost/iterator/function_output_iterator.hpp.
(PR#51)
Improved support for Embarcadero compilers. (PR#55)
LexicalCast:
Fixed warnings on missing override
(thanks to EugeneZelenko #35, #34).
Fixes for the the Embarcadero compilers (thanks to Edward Diener).
Log:
Bug fixes:
The syslog sink backend now verifies the IP version of the
local and target addresses set by user. The addresses must
have the same IP version as was specified in the ip_version named parameter
on the sink backend construction (by default, IPv4 is assumed).
When an address is obtained as a result of host name resolution,
only addresses with matching IP version are considered. (#119)
New Features:
Move constructors and assignment operators of various components
were marked noexcept.
Added a new range_manip
stream manipulator that can be used for outputting elements
of a range, optionally separated by a delimiter.
Added a new tuple_manip
stream manipulator that can be used for outputting elements
of a tuple or any other heterogeneous sequence, optionally
separated by a delimiter.
Added a new optional_manip
stream manipulator that can be used for outputting optionally
present values.
See changelog
for more details.
Mp11:
Improved compilation performance of mp_with_index<N> for large N.
Added tuple_transform
(contributed by Hans Dembinski.)
Multi-index Containers:
Added node
extraction and insertion following the analogous interface
of associative containers as introduced in C++17. This feature has
also been extended to non key-based indices, in contrast to C++ standard
library sequence containers, which do not provide such functionality.
Clarified documentation on read/write key extractors (issue #32).
Maintenance work.
Nowide:
The library now requires a C++11-compliant compiler and stdlib
LFS: Add support for files > 2 GB where the underlying system
supports it
Generic UTF conversion functions are now available in the boost::nowide::utf namespace
Add support for stat
with UTF-8 paths
Outcome:
Announcements:
The v2.1 branch is expected to be retired end of 2020, with
the v2.2 branch becoming the default. You can use the future
v2.2 branch now using better_optimisation.
This branch has a number of major breaking changes to Outcome
v2.1, see the front page for details.
Enhancements:
BREAKING CHANGE void
results and outcomes no longer default construct types during
explicit construction. Previously if you explicitly constructed
a result<T>
from a non-errored result<void>, it default constructed
T. This was
found to cause unhelpful surprise, so it has been disabled.
New macro OUTCOME_ENABLE_LEGACY_SUPPORT_FOR.
The macro OUTCOME_ENABLE_LEGACY_SUPPORT_FOR
can be used to enable aliasing of older naming and features
to newer naming and features when using a newer version of
Outcome.
Concepts now have snake case style naming instead of camel
case style. When Outcome was first implemented, it was thought
that C++ 20 concepts were going to have camel case style. This
was changed before the C++ 20 release, and Outcome's concepts
have been renamed similarly. This won't break any code in Outcome
v2.1, as compatibility aliases are provided. However code compiled
against Outcome v2.2 will need to be upgraded, unless OUTCOME_ENABLE_LEGACY_SUPPORT_FOR
is set to 210 or
lower.
Concepts now live in OUTCOME_V2_NAMESPACE::concepts
namespace. Previously concepts lived in the convert
namespace, now they live in their own namespace.
New concepts basic_result<T> and basic_outcome<T> added. End users were finding
an unhelpful gap in between is_basic_result<T> and value_or_error<T> where they wanted a concept
that matched types which were basic_result,
but not exactly one of those. Concepts filling that gap were
added.
Operation TRY
works differently from Outcome v2.2 onwards. This is a severely
code breaking change which change the syntax of how one uses
OUTCOME_TRY(). A regular expression suitable
for upgrading code can be found in the list of changes between
Outcome v2.1 and v2.2.
Bug fixes:
#224
The clang Apple ships in Xcode 11.4 (currently the latest)
has not been patched with the fixes to LLVM clang that fix
noexcept(std::is_constructible<T,
void>)
failing to compile which I originally submitted years ago.
So give up waiting on Apple to fix their clang, add a workaround
to Outcome.
Spare storage could not be used from within no-value policy
classes. Due to an obvious brain fart when writing the code
at the time, the spare storage APIs had the wrong prototype
which prevented them working from within policy classes. Sorry.
PolyCollection:
Fixed internal ambiguity problem between boost::type_erasure::any
and boost::any (issue #17).
Maintenance work.
SmartPtr:
Added owner_equals
to shared_ptr, weak_ptr, local_shared_ptr.
Added owner_hash_value
to shared_ptr, weak_ptr.
Added owner_equal_to,
owner_hash.
Added std::hash specializations for shared_ptr, local_shared_ptr.
Added boost::hash support to, and std::hash, std::equal_to
specializations for, weak_ptr.
Stacktrace:
Fixed a build error when compiled with -fno-exceptions (thanks to Jeremiah
Rodriguez #91).
System:
operator bool() now returns failed() instead of value() != 0.
Type_Traits:
Implemented conjunction,
disjunction, negation, is_trivially_copyable,
is_scoped_enum, and
is_unscoped_enum.
(Glen Fernandes)
Variant:
Fixed warnings on missing override
(thanks to EugeneZelenko #78).
Fixes for the the Embarcadero compilers (thanks to Edward Diener
#79).
Updated header locations to avoid warnings about using deprecated
headers (thanks to Andrey Semashev #80)
Variant2:
Added support for derived types in visit.
Improved compilation performance for many (hundreds of) alternatives.
Added support for visit<R>.
Wave:
Implement C++20 features for variadics, including __VA_OPT__
(PR#75)
Implement __has_include
(PR#102)
Introduce new sample: check_macro_naming,
useful with Boost itself (PR#97)
Fix compilation issue caused by std::allocator
member removal in C++20 (PR#72)
Repair Xpressive lexer and token_statistics
sample (PR#79)
Repair lexertl lexer (PR#78)
Ensure hooks are run on predefined macros as well (PR#87)
Various minor bug fixes
C++98/03 support is now deprecated and will be removed in 1.77
YAP:
Fixed compilation errors for placeholders; they now work in the general
case, and in particular work with yap::print().
constexpr all the YAP.
Fix printing of correct value category in yap::print().
Doc clarification.
Updated Tools
Boostbook:
Change encoding of generated documentation from US-ASCII to UTF-8.
(Glen Fernandes)
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow, Michael Caisse and Glen Fernandes managed this release.
[Less]
|
Posted
almost 4 years
ago
Known Issues
These are patches from library authors which were found too late to be fixed
in the release. Be careful as they have not been through the normal testing
process.
... [More]
Outcome status_code_domain
assertion removal
Outcome patch
Beast and coroutines
Beast patch
New Libraries
Nowide: Standard library functions
with UTF-8 API on Windows, from Artyom Beilis.
StaticString: A dynamically
resizable string of characters with compile-time fixed capacity and contiguous
embedded storage, from Vinnie Falco and Krystian Stasiowski
Updated
Libraries
Align:
Update aligned_alloc
to support older mingw32.
Any:
Speedup compilation by not including <algorithm>.
Maintenance work, including CI hardening.
Asio:
Fixed compatibility with C++20 concept syntax.
Marked the POSIX descriptor classes' move constructors as noexcept.
Added the ssl::host_name_verification class,
which is a drop-in replacement for ssl::rfc2818_verification.
The ssl::rfc2818_verification class has
been marked as deprecated. As a consequence of this change, SSL
support now depends on functions that were introduced in OpenSSL
1.0.2.
Added an ssl::context constructor to take ownership
of a native handle.
Changed C++ language version detection with gcc
to use __cplusplus
macro.
Fixed a work counting issue in the asynchronous resolve operation
for endpoints.
Fixed the strand<> converting constructors
and assignment operators.
Ensured that resolvers are restarted correctly after a fork.
Fixed compatibility with the current NetBSD release.
Removed spurious handler requirement checks in some async_read overloads.
Changed the ssl::context
class to propagate non-EOF errors from the add_certificate_authority
function.
Fixed a Windows-specific thread_pool
destructor hang that occurred when the pool had an associated I/O
object.
Changed the select reactor to recreate the "self
pipe trick" sockets on error. This addresses an issue on some
versions of Windows, where these sockets are discconected after
a system sleep.
Fixed a compile error in the buffered streams due to the lack of
reference collapsing in C++98.
Changed the priority_scheduler
example to demonstrate calls to shutdown() and destroy().
Removed some unnecessary null pointer checks.
Changed Windows platform detection to recognise TV titles as Windows
apps.
Added some emscripten compatibility patches.
Fixed a compile error in the use_awaitable_t::as_default_on
function.
Changed all uses of the boost.bind placeholders to use the boost::placeholders namespace.
Fixed a potential compile error in the async_compose
implementation due to incorrect overload selection.
Suppressed some non-virtual destructor warnings.
Various documentation fixes and improvements.
Assert:
Added source_location.
Atomic:
Implemented C++20 atomic_ref.
See docs
and especially the caveats
section.
Implemented atomic_flag::test
operation, which was introduced in C++20.
atomic<T>
should now take into account alignment requirements of T, which makes a difference if
those requirements are higher than that of the internal storage
of atomic.
Added static asserts enforcing the requirements on the value type
T used with atomic and atomic_ref.
This should prohibit invalid types from being used as atomics.
Improved internal lock pool implementation. The pool is larger,
and lock selection accounts for atomic object alignment, which
should reduce the potential of thread contention.
Fixed incorrect x86 code generated for bit_test_and_* operations on 8 and 16-bit arguments.
Other architectures are not affected.
Fixed a possible unaligned memory access in compare_exchange_* operations, if alignment requirements
of value_type are
less than that of the internal storage of atomic.
boost/atomic/atomic.hpp no longer includes boost/atomic/atomic_flag.hpp and boost/atomic/fences.hpp
and only defines the boost::atomic
class template and related typedefs. Include the other headers
explicitly or use boost/atomic.hpp
to include all parts of Boost.Atomic.
The atomic<T>::storage()
accessor and associated atomic<T>::storage_type
type are deprecated. Instead, users are advised to use atomic<T>::value()
and atomic<T>::value_type, respectively. Users
can define BOOST_ATOMIC_SILENCE_STORAGE_DEPRECATION
to disable deprecation warnings for the time of transition. The
deprecated pieces will be removed in a future release.
Removed support for BOOST_ATOMIC_DETAIL_HIGHLIGHT_OP_AND_TEST.
This macro was used as a helper for transition to the updated returned
values of *_and_test
operations in Boost.Atomic 1.67, which was released 2 years before
1.73.
Beast:
This is a maintenance update.
Nested mutable_data_type
in Beast dynamic buffers is deprecated.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Context:
#133: IBM Z: Fix fcontext routines
#132: mips64/n64: .align 3
#131: Use OSPLAT MIPS32/MIPS64 to set different ABI
#129: Fix non-PIC in RISC-V assembly
Conversion:
Added boost::polymorphic_downcast for references
(thanks to Julien Delacroix for the patch).
Significant docs update.
date_time:
#123: Support constexpr in c++14 and above
#134: Make date_time all inline. Users no longer need
to link the library for any functions. Library remains for build
compatibility.
#132: Deprecate support for legacy io and USE_DATE_TIME_PRE_1_33_FACET_IO
macro
Misc documentation updates and bugfixes.
DLL:
Fixes and tests for demangling in boost::dll::smart_library
(thanks to Ramil Gauss for #35).
Make UB sanitizers happy with boost::dll::load_mode::type
#30.
Ceased dependence on MPL improving compile times (thanks to Nikita
Kniazev for #34).
Clang and ICC on Windows fixes and CI support for those platforms
(thanks to Nikita Kniazev #33).
Maintenance work, including CI hardening and tests improving.
Dynamic Bitset:
Fixed a portability issue in the definition of the maximum block
limit.
Flyweight:
Maintenance work.
Geometry:
Improvements
PR#650 Missing input combinations in intersection()
and introduction of tupled-output.
PR#671 Added d3::point_xyz
geometry model (thanks to Digvijay Janartha).
Solved issues
#657 Incorrect definition of EPSG:3785.
Bugfixes
PR#639 R-tree exception-safety improvement.
PR#668 Andoyer inverse formula fixed for close
points.
PR#687 Fixed dangling reference in distance algorithm.
Deprecation
#590 Support for C++03 has been deprecated and
Geometry will require C++14 from Boost 1.75 onwards.
GIL:
Added
Added move constructor and move assignment operator to image class (PR#457).
New member function size() in any_image_view
class (PR#456).
Changed
Replace Boost.Test with Boost.LightweightTest as the only
test framework used in GIL (PR#459) and (PR#464).
This also restructured the test/extension/io/ sub-tree and targets in
related Jamfile-s.
Removed remaining uses of Boost.MPL (PR#459).
Renamed all macros using BOOST_GIL_
prefix (PR#411).
Renamed all CMake configuration options using BOOST_GIL_ prefix (PR#419).
Changed
Removed extension/dynamic_image/reduce.hpp
as unused and possibly unfinished (PR#466). An implementation
attempt of techniques described in the paper Efficient
Run-Time Dispatching in Generic Programming with Minimal
Code Bloat by Lubomir Bourdev, Jaakko Jarvi.
Removed direct dependency on Boost.MPL, Boost.System and
Boost.Test.
Started removing public macros for compile-time configuration
of I/O extension tests, i.e. BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
and BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES.
Instead, if a test target is built, it builds all its test
cases unconditionally.
Fixed
Avoid longjmp
interaction during destruction of I/O extension objects (PR#433).
Fixed missing alignment default value in constructor of
image class
(PR#429).
Fixed segmentation fault when reading corrupted PNG file
(PR#414).
Fixed illegal initialization of return values in the old
IOv1 interface of I/O extension (PR#409).
Acknowledgements
Samuel Debionne, Thiago Henrique Hüpner, Pranam Lashkari,
Mateusz Loskot, Debabrata Mandal, Olzhas Zhumabek
Histogram:
New features
Added crop
command to reduce
algorithm
slice command
in reduce
now works on category
axis
Added count
accumulator, can be used to add arbitrary metadata to each
cell
sum algorithm
gained a new argument to optionally sum only over inner bins
Several fixes for bugs in corner cases
Enhanced documentation
How to use Boost.Histogram as a backend in an external API
More on how to use Boost.Histogram with custom accumulators
and Boost.Accumulators
More on how to use reduce
Updated benchmarks
See the full
changelog here
icl:
PR#23: Remove references to date_time compiled library.
PR#17: Fix forward decl lower and upper less equal.
Misc bugfixes.
IO:
Made all the IOS state saver classes non-copyable. (Glen Fernandes)
Correctly handle error upon first read from the input stream when
reading a quoted string. (Glen Fernandes)
Implemented ostream_joiner
for delimiter based joining. (Glen Fernandes)
Relocated ostream_string
from the Utility library to the IO library as ostream_put.
Correctly handle stream width and fill in quoted output. (Glen
Fernandes)
Optimize quoted output to write directly to the stream buffer.
(Glen Fernandes)
Glen Fernandes became the maintainer of the IO library.
LexicalCast:
Maintenance work, including CI hardening and better workarounds
for broken standard libraries (thanks to Nikita Kniazev #31,
#32).
Log:
New Features:
Default sink used in trivial logging, when no sinks are registered
in the logging core, now automatically flushes output after
each log record. (#103)
core::flush now performs a flush
on the default sink used for trivial logging, when no sinks
are registered.
Bug fixes:
Added a workaround for some syslog API implementations (e.g.
glibc), which do not save the application identification
string in openlog
call. Such implementations could access already freed memory
on each syslog
call, resulting in undefined behavior. (#97)
Fixed that log file rotation on a specific day of month (e.g.
rotation_at_time_point(boost::gregorian::greg_day(1))) could be silently ignored
and not happen. (#98)
Fixed that text_file_backend::rotate_file
could throw if there were no log records written yet and
target file name pattern was set.
Ported various components of the library to std::allocator_traits to improve
compatibility with C++20 allocators.
Fixed compilation errors when building in MSYS2 Cygwin environment.
(#102)
See changelog
for more details.
Math:
IMPORTANT: C++03 support is now deprecated and will be removed
from March 2021.
Added Cubic Hermite Interpolation.
Added Modified Akima Interpolation.
Added PCHIP Interpolation.
Added Quintic Hermite Interpolation.
Added entropy to numerous distributions.
Allow trivial quadrature case where the two end points are equal,
and in addition allow bounds to be interchanged.
Fix exp_sinh quadrature to work with complex types over a non-native
range.
Fix miscellaneous compiler warnings in factorial.hpp.
Use std::chrono rather than boost::chrono in timed pFq calculations.
Remove much of the old boost::mpl dependencies to improve constexpr
support.
Mp11:
Added mp_unique_if
(contributed by Kris Jusiak)
Added mp_flatten
Added mp_rotate_left,
mp_rotate_right
(contributed by Duncan Barber)
Added mp_compose
Added mp_power_set
Added mp_partial_sum
Added mp_iterate
Multi-index Containers:
multi_index_container
is now AllocatorAware.
Swapping of internal KeyFromValue,
Compare, Hash and Pred
objects now selects the appropriate swap
function between std::swap
and ADL candidates, in accordance with standard specifications
in [swappable.requirements] (issue
#29).
Provided some internal copy constructors and assignment operators
whose default implicit definition is deprecated in C++11 onwards
([depr.impldec]), which was warned
about on some compilers.
Maintenance work.
Multiprecision:
IMPORTANT: Mark C++03 support as deprecated and due for removal
in 2021.
Big update to cpp_int adds faster Karatsuba and Coomba multiplication
routines.
Fix conversion of gmp_rational to long
double and __float128, fixes #178.
Fix up libtommath support to function with the latest libtom releases.
Fix up some incompatibilities with the latest Intel C++ compiler.
Fix up constexpr arithmetic
support for latest MSVC release.
Outcome:
Enhancements:
Performance of Outcome-based code compiled by clang has been
greatly improved. The previous implementation of Outcome's
status bitfield confused clang's optimiser, which caused
low quality codegen. Unlike most codegen issues, this was
noticeably in empirical benchmarks of real world code, as
was shown by P1886
Error speed benchmarking.
The safe part of the better_optimisation
Outcome v2.2.0 future branch was merged to Outcome v2.1.3
which includes a new status bitfield implementation. This
appears to not confuse clang's optimiser, and clang 9 produces
code which routinely beats GCC 9's code for various canned
use cases.
Installability is now CI tested per commit. Due to installability
of standalone Outcome (e.g. make
install) breaking
itself rather more frequently than is ideal, installability
is now tested on CI per commit.
Bug fixes:
#214
Newer Concepts implementing compilers were unhappy with the
early check for destructibility of T
and E, so
removed template constraints, falling back to static assert
which runs later in the type instantiation sequence.
#220
A false positive undefined behaviour sanitiser failure in
some use cases of Experimental Outcome was worked around
to avoid the failure message.
PolyCollection:
Suppressed a potential redundant move warning in boost::poly_collection::for_each.
Fixed a bug by which elements were copied rather than moved in
allocator-extended move construction and move assigment between
collections with non-propagating, unequal allocators.
Allocator-extended move construction no longer decays to allocator-extended
copy construction for the legacy version of libstdc++-v3 shipped
with GCC 4.8 (which can also be used by Clang).
Stacktrace:
Added documentation on distribution of PDBs #55, #47 (thanks
to emptyVoid and Roger Orr for information and to zlojvavan for
testing).
Fixed msvc-9 build
Maintenance work, including test fixes #86, fixing
typos #84, CI improvements and hardening, inspect tool
fixes.
Test:
Boost.test v3.13 see the Changes
log for more details.
New feature: It is now possible to combine tolerance indication,
user message and collection comparison modifier in a single BOOST_TEST expression. See change
logs for more details.
Bug fixes and pull requests:
GitHub Issues: #173, #179, #220, #221,
#235
#237, #241, #245, #246,
#251, #253
#254, #263
Trac tickets: #11107
GitHub Pull Requests: PR#41, PR#114, PR#187,
PR#239, PR#247
PR#252, PR#259,
PR#265
ThrowException:
Added an overload of throw_exception
that takes a boost::source_location
object.
NOTE: Projects using BOOST_THROW_EXCEPTION
with exceptions disabled will need to add a definition of this
new overload.
TTI:
Added introspection of function templates for more recent C++ compilers
versions from gcc and vc++. as well as all versions of clang. Older
versions of vc++ before 14.0 and gcc prior to 4.8 may fail.
Added specific introspection for elements of struct/class, enum,
and union types, which can be used for more fine-grained introspection
than the general 'type' introspection.
TypeIndex:
Maintenance work, including CI integration with inspect tool.
Utility:
The ostream_string
facility has moved from the Utility library to the IO library as
ostream_put.
Variant:
Removed unused includes (thanks to Nikita Kniazev #74).
Fixed zero-as-null-pointer-constat warnings (thanks to Bart Siwek
#77).
Maintenance work, including typo fixes.
Variant2:
Added support for std::hash,
boost::hash.
variant<T...>
is now trivial when all types in T... are trivial. This improves performance
by enabling it to be passed to, and returned from, functions in
registers.
WinAPI:
Headers in boost/detail/winapi
are deprecated and will be removed in a future release.
Boost.WinAPI headers no longer include winerror.h.
Include boost/winapi/error_codes.hpp to get Windows error codes.
(#81)
Updated Tools
Build:
Includes release 4.2.0
of B2.
WARNING: Since version 4.0.0 B2 requires a capable C++11 compiler
to bootstrap. This is only needed to build B2 itself not to build
Boost for your use.
Compilers
Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow, Michael Caisse and Glen Fernandes managed this release.
[Less]
|
Posted
almost 4 years
ago
Known Issues
These are patches from library authors which were found too late to be fixed
in the release. Be careful as they have not been through the normal testing
process.
... [More]
Outcome status_code_domain
assertion removal
Outcome patch
Beast and coroutines
Beast patch
New Libraries
Nowide: Standard library functions
with UTF-8 API on Windows, from Artyom Beilis.
StaticString: A dynamically
resizable string of characters with compile-time fixed capacity and contiguous
embedded storage, from Vinnie Falco and Krystian Stasiowski
Updated
Libraries
Align:
Update aligned_alloc
to support older mingw32.
Any:
Speedup compilation by not including <algorithm>.
Maintenance work, including CI hardening.
Asio:
Fixed compatibility with C++20 concept syntax.
Marked the POSIX descriptor classes' move constructors as noexcept.
Added the ssl::host_name_verification class,
which is a drop-in replacement for ssl::rfc2818_verification.
The ssl::rfc2818_verification class has
been marked as deprecated. As a consequence of this change, SSL
support now depends on functions that were introduced in OpenSSL
1.0.2.
Added an ssl::context constructor to take ownership
of a native handle.
Changed C++ language version detection with gcc
to use __cplusplus
macro.
Fixed a work counting issue in the asynchronous resolve operation
for endpoints.
Fixed the strand<> converting constructors
and assignment operators.
Ensured that resolvers are restarted correctly after a fork.
Fixed compatibility with the current NetBSD release.
Removed spurious handler requirement checks in some async_read overloads.
Changed the ssl::context
class to propagate non-EOF errors from the add_certificate_authority
function.
Fixed a Windows-specific thread_pool
destructor hang that occurred when the pool had an associated I/O
object.
Changed the select reactor to recreate the "self
pipe trick" sockets on error. This addresses an issue on some
versions of Windows, where these sockets are discconected after
a system sleep.
Fixed a compile error in the buffered streams due to the lack of
reference collapsing in C++98.
Changed the priority_scheduler
example to demonstrate calls to shutdown() and destroy().
Removed some unnecessary null pointer checks.
Changed Windows platform detection to recognise TV titles as Windows
apps.
Added some emscripten compatibility patches.
Fixed a compile error in the use_awaitable_t::as_default_on
function.
Changed all uses of the boost.bind placeholders to use the boost::placeholders namespace.
Fixed a potential compile error in the async_compose
implementation due to incorrect overload selection.
Suppressed some non-virtual destructor warnings.
Various documentation fixes and improvements.
Assert:
Added source_location.
Atomic:
Implemented C++20 atomic_ref.
See docs
and especially the caveats
section.
Implemented atomic_flag::test
operation, which was introduced in C++20.
atomic<T>
should now take into account alignment requirements of T, which makes a difference if
those requirements are higher than that of the internal storage
of atomic.
Added static asserts enforcing the requirements on the value type
T used with atomic and atomic_ref.
This should prohibit invalid types from being used as atomics.
Improved internal lock pool implementation. The pool is larger,
and lock selection accounts for atomic object alignment, which
should reduce the potential of thread contention.
Fixed incorrect x86 code generated for bit_test_and_* operations on 8 and 16-bit arguments.
Other architectures are not affected.
Fixed a possible unaligned memory access in compare_exchange_* operations, if alignment requirements
of value_type are
less than that of the internal storage of atomic.
boost/atomic/atomic.hpp no longer includes boost/atomic/atomic_flag.hpp and boost/atomic/fences.hpp
and only defines the boost::atomic
class template and related typedefs. Include the other headers
explicitly or use boost/atomic.hpp
to include all parts of Boost.Atomic.
The atomic<T>::storage()
accessor and associated atomic<T>::storage_type
type are deprecated. Instead, users are advised to use atomic<T>::value()
and atomic<T>::value_type, respectively. Users
can define BOOST_ATOMIC_SILENCE_STORAGE_DEPRECATION
to disable deprecation warnings for the time of transition. The
deprecated pieces will be removed in a future release.
Removed support for BOOST_ATOMIC_DETAIL_HIGHLIGHT_OP_AND_TEST.
This macro was used as a helper for transition to the updated returned
values of *_and_test
operations in Boost.Atomic 1.67, which was released 2 years before
1.73.
Beast:
This is a maintenance update.
Nested mutable_data_type
in Beast dynamic buffers is deprecated.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Context:
#133: IBM Z: Fix fcontext routines
#132: mips64/n64: .align 3
#131: Use OSPLAT MIPS32/MIPS64 to set different ABI
#129: Fix non-PIC in RISC-V assembly
Conversion:
Added boost::polymorphic_downcast for references
(thanks to Julien Delacroix for the patch).
Significant docs update.
date_time:
#123: Support constexpr in c++14 and above
#134: Make date_time all inline. Users no longer need
to link the library for any functions. Library remains for build
compatibility.
#132: Deprecate support for legacy io and USE_DATE_TIME_PRE_1_33_FACET_IO
macro
Misc documentation updates and bugfixes.
DLL:
Fixes and tests for demangling in boost::dll::smart_library
(thanks to Ramil Gauss for #35).
Make UB sanitizers happy with boost::dll::load_mode::type
#30.
Ceased dependence on MPL improving compile times (thanks to Nikita
Kniazev for #34).
Clang and ICC on Windows fixes and CI support for those platforms
(thanks to Nikita Kniazev #33).
Maintenance work, including CI hardening and tests improving.
Dynamic Bitset:
Fixed a portability issue in the definition of the maximum block
limit.
Flyweight:
Maintenance work.
Geometry:
Improvements
PR#650 Missing input combinations in intersection()
and introduction of tupled-output.
PR#671 Added d3::point_xyz
geometry model (thanks to Digvijay Janartha).
Solved issues
#657 Incorrect definition of EPSG:3785.
Bugfixes
PR#639 R-tree exception-safety improvement.
PR#668 Andoyer inverse formula fixed for close
points.
PR#687 Fixed dangling reference in distance algorithm.
Deprecation
#590 Support for C++03 has been deprecated and
Geometry will require C++14 from Boost 1.75 onwards.
GIL:
Added
Added move constructor and move assignment operator to image class (PR#457).
New member function size() in any_image_view
class (PR#456).
Changed
Replace Boost.Test with Boost.LightweightTest as the only
test framework used in GIL (PR#459) and (PR#464).
This also restructured the test/extension/io/ sub-tree and targets in
related Jamfile-s.
Removed remaining uses of Boost.MPL (PR#459).
Renamed all macros using BOOST_GIL_
prefix (PR#411).
Renamed all CMake configuration options using BOOST_GIL_ prefix (PR#419).
Changed
Removed extension/dynamic_image/reduce.hpp
as unused and possibly unfinished (PR#466). An implementation
attempt of techniques described in the paper Efficient
Run-Time Dispatching in Generic Programming with Minimal
Code Bloat by Lubomir Bourdev, Jaakko Jarvi.
Removed direct dependency on Boost.MPL, Boost.System and
Boost.Test.
Started removing public macros for compile-time configuration
of I/O extension tests, i.e. BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
and BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES.
Instead, if a test target is built, it builds all its test
cases unconditionally.
Fixed
Avoid longjmp
interaction during destruction of I/O extension objects (PR#433).
Fixed missing alignment default value in constructor of
image class
(PR#429).
Fixed segmentation fault when reading corrupted PNG file
(PR#414).
Fixed illegal initialization of return values in the old
IOv1 interface of I/O extension (PR#409).
Acknowledgements
Samuel Debionne, Thiago Henrique Hüpner, Pranam Lashkari,
Mateusz Loskot, Debabrata Mandal, Olzhas Zhumabek
Histogram:
New features
Added crop
command to reduce
algorithm
slice command
in reduce
now works on category
axis
Added count
accumulator, can be used to add arbitrary metadata to each
cell
sum algorithm
gained a new argument to optionally sum only over inner bins
Several fixes for bugs in corner cases
Enhanced documentation
How to use Boost.Histogram as a backend in an external API
More on how to use Boost.Histogram with custom accumulators
and Boost.Accumulators
More on how to use reduce
Updated benchmarks
See the full
changelog here
icl:
PR#23: Remove references to date_time compiled library.
PR#17: Fix forward decl lower and upper less equal.
Misc bugfixes.
IO:
Made all the IOS state saver classes non-copyable. (Glen Fernandes)
Correctly handle error upon first read from the input stream when
reading a quoted string. (Glen Fernandes)
Implemented ostream_joiner
for delimiter based joining. (Glen Fernandes)
Relocated ostream_string
from the Utility library to the IO library as ostream_put.
Correctly handle stream width and fill in quoted output. (Glen
Fernandes)
Optimize quoted output to write directly to the stream buffer.
(Glen Fernandes)
Glen Fernandes became the maintainer of the IO library.
LexicalCast:
Maintenance work, including CI hardening and better workarounds
for broken standard libraries (thanks to Nikita Kniazev #31,
#32).
Log:
New Features:
Default sink used in trivial logging, when no sinks are registered
in the logging core, now automatically flushes output after
each log record. (#103)
core::flush now performs a flush
on the default sink used for trivial logging, when no sinks
are registered.
Bug fixes:
Added a workaround for some syslog API implementations (e.g.
glibc), which do not save the application identification
string in openlog
call. Such implementations could access already freed memory
on each syslog
call, resulting in undefined behavior. (#97)
Fixed that log file rotation on a specific day of month (e.g.
rotation_at_time_point(boost::gregorian::greg_day(1))) could be silently ignored
and not happen. (#98)
Fixed that text_file_backend::rotate_file
could throw if there were no log records written yet and
target file name pattern was set.
Ported various components of the library to std::allocator_traits to improve
compatibility with C++20 allocators.
Fixed compilation errors when building in MSYS2 Cygwin environment.
(#102)
See changelog
for more details.
Math:
IMPORTANT: C++03 support is now deprecated and will be removed
from March 2021.
Added Cubic Hermite Interpolation.
Added Modified Akima Interpolation.
Added PCHIP Interpolation.
Added Quintic Hermite Interpolation.
Added entropy to numerous distributions.
Allow trivial quadrature case where the two end points are equal,
and in addition allow bounds to be interchanged.
Fix exp_sinh quadrature to work with complex types over a non-native
range.
Fix miscellaneous compiler warnings in factorial.hpp.
Use std::chrono rather than boost::chrono in timed pFq calculations.
Remove much of the old boost::mpl dependencies to improve constexpr
support.
Mp11:
Added mp_unique_if
(contributed by Kris Jusiak)
Added mp_flatten
Added mp_rotate_left,
mp_rotate_right
(contributed by Duncan Barber)
Added mp_compose
Added mp_power_set
Added mp_partial_sum
Added mp_iterate
Multi-index Containers:
multi_index_container
is now AllocatorAware.
Swapping of internal KeyFromValue,
Compare, Hash and Pred
objects now selects the appropriate swap
function between std::swap
and ADL candidates, in accordance with standard specifications
in [swappable.requirements] (issue
#29).
Provided some internal copy constructors and assignment operators
whose default implicit definition is deprecated in C++11 onwards
([depr.impldec]), which was warned
about on some compilers.
Maintenance work.
Multiprecision:
IMPORTANT: Mark C++03 support as deprecated and due for removal
in 2021.
Big update to cpp_int adds faster Karatsuba and Coomba multiplication
routines.
Fix conversion of gmp_rational to long
double and __float128, fixes #178.
Fix up libtommath support to function with the latest libtom releases.
Fix up some incompatibilities with the latest Intel C++ compiler.
Fix up constexpr arithmetic
support for latest MSVC release.
Outcome:
Enhancements:
Performance of Outcome-based code compiled by clang has been
greatly improved. The previous implementation of Outcome's
status bitfield confused clang's optimiser, which caused
low quality codegen. Unlike most codegen issues, this was
noticeably in empirical benchmarks of real world code, as
was shown by P1886
Error speed benchmarking.
The safe part of the better_optimisation
Outcome v2.2.0 future branch was merged to Outcome v2.1.3
which includes a new status bitfield implementation. This
appears to not confuse clang's optimiser, and clang 9 produces
code which routinely beats GCC 9's code for various canned
use cases.
Installability is now CI tested per commit. Due to installability
of standalone Outcome (e.g. make
install) breaking
itself rather more frequently than is ideal, installability
is now tested on CI per commit.
Bug fixes:
#214
Newer Concepts implementing compilers were unhappy with the
early check for destructibility of T
and E, so
removed template constraints, falling back to static assert
which runs later in the type instantiation sequence.
#220
A false positive undefined behaviour sanitiser failure in
some use cases of Experimental Outcome was worked around
to avoid the failure message.
PolyCollection:
Suppressed a potential redundant move warning in boost::poly_collection::for_each.
Fixed a bug by which elements were copied rather than moved in
allocator-extended move construction and move assigment between
collections with non-propagating, unequal allocators.
Allocator-extended move construction no longer decays to allocator-extended
copy construction for the legacy version of libstdc++-v3 shipped
with GCC 4.8 (which can also be used by Clang).
Stacktrace:
Added documentation on distribution of PDBs #55, #47 (thanks
to emptyVoid and Roger Orr for information and to zlojvavan for
testing).
Fixed msvc-9 build
Maintenance work, including test fixes #86, fixing
typos #84, CI improvements and hardening, inspect tool
fixes.
Test:
Boost.test v3.13 see the Changes
log for more details.
New feature: It is now possible to combine tolerance indication,
user message and collection comparison modifier in a single BOOST_TEST expression. See change
logs for more details.
Bug fixes and pull requests:
GitHub Issues: #173, #179, #220, #221,
#235
#237, #241, #245, #246,
#251, #253
#254, #263
Trac tickets: #11107
GitHub Pull Requests: PR#41, PR#114, PR#187,
PR#239, PR#247
PR#252, PR#259,
PR#265
ThrowException:
Added an overload of throw_exception
that takes a boost::source_location
object.
NOTE: Projects using BOOST_THROW_EXCEPTION
with exceptions disabled will need to add a definition of this
new overload.
TTI:
Added introspection of function templates for more recent C++ compilers
versions from gcc and vc++. as well as all versions of clang. Older
versions of vc++ before 14.0 and gcc prior to 4.8 may fail.
Added specific introspection for elements of struct/class, enum,
and union types, which can be used for more fine-grained introspection
than the general 'type' introspection.
TypeIndex:
Maintenance work, including CI integration with inspect tool.
Utility:
The ostream_string
facility has moved from the Utility library to the IO library as
ostream_put.
Variant:
Removed unused includes (thanks to Nikita Kniazev #74).
Fixed zero-as-null-pointer-constat warnings (thanks to Bart Siwek
#77).
Maintenance work, including typo fixes.
Variant2:
Added support for std::hash,
boost::hash.
variant<T...>
is now trivial when all types in T... are trivial. This improves performance
by enabling it to be passed to, and returned from, functions in
registers.
WinAPI:
Headers in boost/detail/winapi
are deprecated and will be removed in a future release.
Boost.WinAPI headers no longer include winerror.h.
Include boost/winapi/error_codes.hpp to get Windows error codes.
(#81)
Updated Tools
Build:
Includes release 4.2.0
of B2.
WARNING: Since version 4.0.0 B2 requires a capable C++11 compiler
to bootstrap. This is only needed to build B2 itself not to build
Boost for your use.
Compilers
Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow, Michael Caisse and Glen Fernandes managed this release.
[Less]
|
Posted
almost 4 years
ago
Known Issues
These are patches from library authors which were found too late to be fixed
in the release. Be careful as they have not been through the normal testing
process.
... [More]
Outcome status_code_domain
assertion removal
Outcome patch
Beast and coroutines
Beast patch
New Libraries
Nowide: Standard library functions
with UTF-8 API on Windows, from Artyom Beilis.
StaticString: A dynamically
resizable string of characters with compile-time fixed capacity and contiguous
embedded storage, from Vinnie Falco and Krystian Stasiowski
Updated Libraries
Align:
Update aligned_alloc
to support older mingw32.
Any:
Speedup compilation by not including <algorithm>.
Maintenance work, including CI hardening.
Asio:
Fixed compatibility with C++20 concept syntax.
Marked the POSIX descriptor classes' move constructors as noexcept.
Added the ssl::host_name_verification class, which
is a drop-in replacement for ssl::rfc2818_verification.
The ssl::rfc2818_verification class has
been marked as deprecated. As a consequence of this change, SSL support
now depends on functions that were introduced in OpenSSL 1.0.2.
Added an ssl::context constructor to take ownership
of a native handle.
Changed C++ language version detection with gcc
to use __cplusplus
macro.
Fixed a work counting issue in the asynchronous resolve operation
for endpoints.
Fixed the strand<> converting constructors and
assignment operators.
Ensured that resolvers are restarted correctly after a fork.
Fixed compatibility with the current NetBSD release.
Removed spurious handler requirement checks in some async_read overloads.
Changed the ssl::context class to propagate non-EOF
errors from the add_certificate_authority
function.
Fixed a Windows-specific thread_pool
destructor hang that occurred when the pool had an associated I/O
object.
Changed the select reactor to recreate the "self
pipe trick" sockets on error. This addresses an issue on some
versions of Windows, where these sockets are discconected after a
system sleep.
Fixed a compile error in the buffered streams due to the lack of
reference collapsing in C++98.
Changed the priority_scheduler
example to demonstrate calls to shutdown() and destroy().
Removed some unnecessary null pointer checks.
Changed Windows platform detection to recognise TV titles as Windows
apps.
Added some emscripten compatibility patches.
Fixed a compile error in the use_awaitable_t::as_default_on
function.
Changed all uses of the boost.bind placeholders to use the boost::placeholders namespace.
Fixed a potential compile error in the async_compose
implementation due to incorrect overload selection.
Suppressed some non-virtual destructor warnings.
Various documentation fixes and improvements.
Assert:
Added source_location.
Atomic:
Implemented C++20 atomic_ref.
See docs
and especially the caveats
section.
Implemented atomic_flag::test
operation, which was introduced in C++20.
atomic<T>
should now take into account alignment requirements of T, which makes a difference if
those requirements are higher than that of the internal storage of
atomic.
Added static asserts enforcing the requirements on the value type
T used with atomic and atomic_ref.
This should prohibit invalid types from being used as atomics.
Improved internal lock pool implementation. The pool is larger, and
lock selection accounts for atomic object alignment, which should
reduce the potential of thread contention.
Fixed incorrect x86 code generated for bit_test_and_* operations on 8 and 16-bit arguments.
Other architectures are not affected.
Fixed a possible unaligned memory access in compare_exchange_* operations, if alignment requirements
of value_type are
less than that of the internal storage of atomic.
boost/atomic/atomic.hpp no longer includes boost/atomic/atomic_flag.hpp and boost/atomic/fences.hpp
and only defines the boost::atomic
class template and related typedefs. Include the other headers explicitly
or use boost/atomic.hpp to include all parts of Boost.Atomic.
The atomic<T>::storage()
accessor and associated atomic<T>::storage_type
type are deprecated. Instead, users are advised to use atomic<T>::value()
and atomic<T>::value_type, respectively. Users
can define BOOST_ATOMIC_SILENCE_STORAGE_DEPRECATION
to disable deprecation warnings for the time of transition. The deprecated
pieces will be removed in a future release.
Removed support for BOOST_ATOMIC_DETAIL_HIGHLIGHT_OP_AND_TEST.
This macro was used as a helper for transition to the updated returned
values of *_and_test
operations in Boost.Atomic 1.67, which was released 2 years before
1.73.
Beast:
This is a maintenance update.
Nested mutable_data_type
in Beast dynamic buffers is deprecated.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Context:
#133: IBM Z: Fix fcontext routines
#132: mips64/n64: .align 3
#131: Use OSPLAT MIPS32/MIPS64 to set different ABI
#129: Fix non-PIC in RISC-V assembly
Conversion:
Added boost::polymorphic_downcast for references
(thanks to Julien Delacroix for the patch).
Significant docs update.
date_time:
#123: Support constexpr in c++14 and above
#134: Make date_time all inline. Users no longer need
to link the library for any functions. Library remains for build
compatibility.
#132: Deprecate support for legacy io and USE_DATE_TIME_PRE_1_33_FACET_IO
macro
Misc documentation updates and bugfixes.
DLL:
Fixes and tests for demangling in boost::dll::smart_library
(thanks to Ramil Gauss for #35).
Make UB sanitizers happy with boost::dll::load_mode::type
#30.
Ceased dependence on MPL improving compile times (thanks to Nikita
Kniazev for #34).
Clang and ICC on Windows fixes and CI support for those platforms
(thanks to Nikita Kniazev #33).
Maintenance work, including CI hardening and tests improving.
Dynamic Bitset:
Fixed a portability issue in the definition of the maximum block
limit.
Flyweight:
Maintenance work.
Geometry:
Improvements
PR#650 Missing input combinations in intersection()
and introduction of tupled-output.
PR#671 Added d3::point_xyz
geometry model (thanks to Digvijay Janartha).
Solved issues
#657 Incorrect definition of EPSG:3785.
Bugfixes
PR#639 R-tree exception-safety improvement.
PR#668 Andoyer inverse formula fixed for close points.
PR#687 Fixed dangling reference in distance algorithm.
Deprecation
#590 Support for C++03 has been deprecated and Geometry
will require C++14 from Boost 1.75 onwards.
GIL:
Added
Added move constructor and move assignment operator to image class (PR#457).
New member function size() in any_image_view
class (PR#456).
Changed
Replace Boost.Test with Boost.LightweightTest as the only test
framework used in GIL (PR#459) and (PR#464). This
also restructured the test/extension/io/ sub-tree and targets in related
Jamfile-s.
Removed remaining uses of Boost.MPL (PR#459).
Renamed all macros using BOOST_GIL_
prefix (PR#411).
Renamed all CMake configuration options using BOOST_GIL_ prefix (PR#419).
Changed
Removed extension/dynamic_image/reduce.hpp
as unused and possibly unfinished (PR#466). An implementation
attempt of techniques described in the paper Efficient
Run-Time Dispatching in Generic Programming with Minimal Code
Bloat by Lubomir Bourdev, Jaakko Jarvi.
Removed direct dependency on Boost.MPL, Boost.System and Boost.Test.
Started removing public macros for compile-time configuration
of I/O extension tests, i.e. BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
and BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES.
Instead, if a test target is built, it builds all its test
cases unconditionally.
Fixed
Avoid longjmp
interaction during destruction of I/O extension objects (PR#433).
Fixed missing alignment default value in constructor of image class (PR#429).
Fixed segmentation fault when reading corrupted PNG file (PR#414).
Fixed illegal initialization of return values in the old IOv1
interface of I/O extension (PR#409).
Acknowledgements
Samuel Debionne, Thiago Henrique Hüpner, Pranam Lashkari,
Mateusz Loskot, Debabrata Mandal, Olzhas Zhumabek
Histogram:
New features
Added crop
command to reduce
algorithm
slice command
in reduce now
works on category
axis
Added count
accumulator, can be used to add arbitrary metadata to each
cell
sum algorithm
gained a new argument to optionally sum only over inner bins
Several fixes for bugs in corner cases
Enhanced documentation
How to use Boost.Histogram as a backend in an external API
More on how to use Boost.Histogram with custom accumulators
and Boost.Accumulators
More on how to use reduce
Updated benchmarks
See the full
changelog here
icl:
PR#23: Remove references to date_time compiled library.
PR#17: Fix forward decl lower and upper less equal.
Misc bugfixes.
IO:
Made all the IOS state saver classes non-copyable. (Glen Fernandes)
Correctly handle error upon first read from the input stream when
reading a quoted string. (Glen Fernandes)
Implemented ostream_joiner
for delimiter based joining. (Glen Fernandes)
Relocated ostream_string
from the Utility library to the IO library as ostream_put.
Correctly handle stream width and fill in quoted output. (Glen Fernandes)
Optimize quoted output to write directly to the stream buffer. (Glen
Fernandes)
Glen Fernandes became the maintainer of the IO library.
LexicalCast:
Maintenance work, including CI hardening and better workarounds for
broken standard libraries (thanks to Nikita Kniazev #31,
#32).
Log:
New Features:
Default sink used in trivial logging, when no sinks are registered
in the logging core, now automatically flushes output after
each log record. (#103)
core::flush now performs a flush
on the default sink used for trivial logging, when no sinks
are registered.
Bug fixes:
Added a workaround for some syslog API implementations (e.g.
glibc), which do not save the application identification string
in openlog
call. Such implementations could access already freed memory
on each syslog
call, resulting in undefined behavior. (#97)
Fixed that log file rotation on a specific day of month (e.g.
rotation_at_time_point(boost::gregorian::greg_day(1))) could be silently ignored
and not happen. (#98)
Fixed that text_file_backend::rotate_file
could throw if there were no log records written yet and target
file name pattern was set.
Ported various components of the library to std::allocator_traits
to improve compatibility with C++20 allocators.
Fixed compilation errors when building in MSYS2 Cygwin environment.
(#102)
See changelog
for more details.
Math:
IMPORTANT: C++03 support is now deprecated and will be removed from
March 2021.
Added Cubic Hermite Interpolation.
Added Modified Akima Interpolation.
Added PCHIP Interpolation.
Added Quintic Hermite Interpolation.
Added entropy to numerous distributions.
Allow trivial quadrature case where the two end points are equal,
and in addition allow bounds to be interchanged.
Fix exp_sinh quadrature to work with complex types over a non-native
range.
Fix miscellaneous compiler warnings in factorial.hpp.
Use std::chrono rather than boost::chrono in timed pFq calculations.
Remove much of the old boost::mpl dependencies to improve constexpr
support.
Mp11:
Added mp_unique_if
(contributed by Kris Jusiak)
Added mp_flatten
Added mp_rotate_left,
mp_rotate_right (contributed
by Duncan Barber)
Added mp_compose
Added mp_power_set
Added mp_partial_sum
Added mp_iterate
Multi-index Containers:
multi_index_container
is now AllocatorAware.
Swapping of internal KeyFromValue,
Compare, Hash and Pred
objects now selects the appropriate swap
function between std::swap
and ADL candidates, in accordance with standard specifications in
[swappable.requirements] (issue
#29).
Provided some internal copy constructors and assignment operators
whose default implicit definition is deprecated in C++11 onwards
([depr.impldec]), which was warned
about on some compilers.
Maintenance work.
Multiprecision:
IMPORTANT: Mark C++03 support as deprecated and due for removal in
2021.
Big update to cpp_int adds faster Karatsuba and Coomba multiplication
routines.
Fix conversion of gmp_rational to long
double and __float128,
fixes #178.
Fix up libtommath support to function with the latest libtom releases.
Fix up some incompatibilities with the latest Intel C++ compiler.
Fix up constexpr arithmetic
support for latest MSVC release.
Outcome:
Enhancements:
Performance of Outcome-based code compiled by clang has been
greatly improved. The previous implementation of Outcome's
status bitfield confused clang's optimiser, which caused low
quality codegen. Unlike most codegen issues, this was noticeably
in empirical benchmarks of real world code, as was shown by
P1886 Error
speed benchmarking.
The safe part of the better_optimisation
Outcome v2.2.0 future branch was merged to Outcome v2.1.3 which
includes a new status bitfield implementation. This appears
to not confuse clang's optimiser, and clang 9 produces code
which routinely beats GCC 9's code for various canned use cases.
Installability is now CI tested per commit. Due to installability
of standalone Outcome (e.g. make
install) breaking
itself rather more frequently than is ideal, installability
is now tested on CI per commit.
Bug fixes:
#214
Newer Concepts implementing compilers were unhappy with the
early check for destructibility of T
and E, so removed
template constraints, falling back to static assert which runs
later in the type instantiation sequence.
#220
A false positive undefined behaviour sanitiser failure in some
use cases of Experimental Outcome was worked around to avoid
the failure message.
PolyCollection:
Suppressed a potential redundant move warning in boost::poly_collection::for_each.
Fixed a bug by which elements were copied rather than moved in allocator-extended
move construction and move assigment between collections with non-propagating,
unequal allocators.
Allocator-extended move construction no longer decays to allocator-extended
copy construction for the legacy version of libstdc++-v3 shipped
with GCC 4.8 (which can also be used by Clang).
Stacktrace:
Added documentation on distribution of PDBs #55, #47 (thanks
to emptyVoid and Roger Orr for information and to zlojvavan for testing).
Fixed msvc-9 build
Maintenance work, including test fixes #86, fixing typos
#84, CI improvements and hardening, inspect tool fixes.
Test:
Boost.test v3.13 see the Changes
log for more details.
New feature: It is now possible to combine tolerance indication,
user message and collection comparison modifier in a single BOOST_TEST expression. See change
logs for more details.
Bug fixes and pull requests:
GitHub Issues: #173, #179, #220, #221,
#235
#237, #241, #245, #246,
#251, #253
#254, #263
Trac tickets: #11107
GitHub Pull Requests: PR#41, PR#114, PR#187,
PR#239, PR#247
PR#252, PR#259, PR#265
ThrowException:
Added an overload of throw_exception
that takes a boost::source_location
object.
NOTE: Projects using BOOST_THROW_EXCEPTION
with exceptions disabled will need to add a definition of this new
overload.
TTI:
Added introspection of function templates for more recent C++ compilers
versions from gcc and vc++. as well as all versions of clang. Older
versions of vc++ before 14.0 and gcc prior to 4.8 may fail.
Added specific introspection for elements of struct/class, enum,
and union types, which can be used for more fine-grained introspection
than the general 'type' introspection.
TypeIndex:
Maintenance work, including CI integration with inspect tool.
Utility:
The ostream_string
facility has moved from the Utility library to the IO library as
ostream_put.
Variant:
Removed unused includes (thanks to Nikita Kniazev #74).
Fixed zero-as-null-pointer-constat warnings (thanks to Bart Siwek
#77).
Maintenance work, including typo fixes.
Variant2:
Added support for std::hash,
boost::hash.
variant<T...>
is now trivial when all types in T... are trivial. This improves performance
by enabling it to be passed to, and returned from, functions in registers.
WinAPI:
Headers in boost/detail/winapi
are deprecated and will be removed in a future release.
Boost.WinAPI headers no longer include winerror.h.
Include boost/winapi/error_codes.hpp to get Windows error codes.
(#81)
Updated Tools
Build:
Includes release 4.2.0
of B2.
WARNING: Since version 4.0.0 B2 requires a capable C++11 compiler
to bootstrap. This is only needed to build B2 itself not to build
Boost for your use.
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow, Michael Caisse and Glen Fernandes managed this release.
[Less]
|
Posted
over 4 years
ago
Updated Libraries
Asio:
Changed the async_initiate
helper function to automatically deduce its return type, for C++11
or
... [More]
later.
Changed all asynchronous operations to use automatically deduced
return types, for C++14 or later.
Introduced concepts to support async_initiate.
Added the nested template type rebind_executor
to all I/O object types.
Changed the initiation function objects to report their associated
I/O executor via the nested type executor_type
and member function get_executor().
Added the default_completion_token
trait, giving I/O executor types an associated default completion
token type for use with asynchronous operations. This trait is specialised
for the use_awaitable
completion token, for example, to allow asynchronous operations to
be used as follows: co_await
socket.async_connect(my_endpoint).
Added missing async_initiate
to the Windows-specific I/O objects' asynchronous operations.
Ensured that the executor type is propagated to newly accepted sockets.
Changed to require that Protocol
copy and move operations never throw.
Changed to require that Endpoint
default constructor and move operations never throw.
Added the noexcept qualifier
to protocol accessors.
Added the noexcept qualifier
to socket move constructors.
Fixed issues associated with opening serial ports on Windows:
Use the correct constant to initialise the RTS control flag.
Specify a default baud rate (9600).
Fixed a lost "outstanding work count" that can occur when
an asynchronous accept operation is automatically restarted.
Consult the Revision
History for further details.
Atomic:
Added a workaround for __float128
not being considered as a floating point type by some versions of
libstdc++.
Improved compatibility with clang-win compiler.
Beast:
This is a maintenance update containing bug fixes, and updates to
use the new features delivered in Boost.Asio.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Circular Buffer:
Fix issue #29: max_size() now takes the allocator's max_size()
into account. (Glen Fernandes)
Context:
architecture s390x supported
execution_context removed
Endian:
Made endian_reverse,
conditional_reverse
and *_to_* constexpr
on GCC and Clang
Added convenience load and store functions
Added floating point convenience typedefs
Added a non-const overload of data(); changed its return type to unsigned char*
Added __int128 support
to endian_reverse
when available
Added a convenience header boost/endian.hpp
Filesystem:
Extracted filesystem_error
to exception.hpp; file_status
and associated enums and functions to file_status.hpp;
directory_entry,
directory_iterator
and recursive_directory_iterator
to directory.hpp.
Deprecated: For backward compatibility
operations.hpp still includes the new headers
exception.hpp, file_status.hpp
and directory.hpp, unless BOOST_FILESYSTEM_NO_DEPRECATED
macro is defined. These implicit includes are considered deprecated
and will be removed in a future release. Users are encouraged to
include the new headers directly or include filesystem.hpp.
The filesystem_error
exception is now implemented in the compiled library of Boost.Filesystem.
Users may need to add linking with Boost.Filesystem library in their
projects.
On POSIX.1-2008 platforms, use utimensat
instead of utime.
utime is declared
obsolete in POSIX.1-2008 and can be disabled e.g. in uClibc-ng. (PR#115)
directory_iterator
is now left in the end state on memory allocation errors.
In directory_iterator
on POSIX systems, support for readdir/readdir_r has been reworked to
avoid memory allocations for dirent
structures when readdir
is used. This reduces memory consumption and eliminates the possibility
of buffer overruns in case if readdir
produces a very long directory name.
On Windows, use Boost.WinAPI to select the target Windows version.
New: Added directory_options
enum, which reflects the same named enum from C++20. The enum is
supported in directory_iterator
and recursive_directory_iterator
to customize iteration behavior. In particular, the iterators now
support skipping directories that can't be opened due to insufficient
permissions. The symlink_option
enum is now deprecated and should be replaced with directory_options.
By default, recursive_directory_iterator
is now reset to the end state in case of errors, as required by C++20.
(#112)
New: Added directory_options::pop_on_error
option, which configures recursive_directory_iterator
so that it attempts to recover from iteration errors by repeatedly
invoking pop()
until it succeeds or the end state is reached. (#113)
New: Added directory_options::skip_dangling_symlinks
option, which configures recursive_directory_iterator
so that it doesn't follow dangling directory symlinks and continues
iteration instead of reporting an error.
Deprecated: The following members
of recursive_directory_iterator
are now marked as deprecated: level(), no_push_pending(), no_push_request(), no_push(). Users are advised to replace their
use with the standard counterparts: depth(), recursion_pending(), disable_recursion_pending(). Note that recursion_pending() has the opposite meaning compared
to no_push_pending() and no_push_request(). Deprecated methods will be removed
in a future release.
Fixed path::lexically_relative (and any dependent
algorithms) to correctly handle empty, dot and dot-dot path elements
in its argument. The behavior is made closer to C++17 std::path::lexically_relative in that empty
and dot path elements are ignored and dot-dot path elements are accounted
by decreasing the number of dot-dot path elements to generate in
the resulting relative path. (#76)
Functional/Factory:
Glen Fernandes rewrote the implementations of factory
and value_factory
to provide the following features:
Support r-value arguments when possible
Support arbitrary number of arguments via variadic templates
when possible
Support allocators that are final
Support allocators that use fancy pointers
Support for disabled exceptions (BOOST_NO_EXCEPTIONS)
Improved compilation times
The following features have been removed:
Increasing limits for C++03 compilers through BOOST_FUNCTIONAL_VALUE_FACTORY_MAX_ARITY
Using boost::none_t
in place of void
through BOOST_FUNCTIONAL_FACTORY_SUPPORT_NONE_T
GIL:
Added
GSoC 2019: Lanczos resampling for image down scaling (PR #309).
GSoC 2019: Methods for binary thresholding, inverted binary
thresholding and truncation thresholding (PR
#313).
GSoC 2019: Otsu thresholding method (PR
#314).
GSoC 2019: Adaptive thresholding using mean or gaussian-weighted
sum of the neighbourhood area (PR
#315).
GSoC 2019: Harris response calculation (corner detector without
non-maximum filtering) (PR
#350).
GSoC 2019: Hessian corner detector (PR
#364).
GSoC 2019: Types for defining 2D kernel, kernel_2d
and kernel_2d_fixed,
in Numeric extension (PR
#361).
GSoC 2019: Implementation of 2D convolution as new function
convolve_2d
(PR #367).
GSoC 2019: Box filtering using the average filter (PR
#383).
GSoC 2019: Blur function based on normalized mean filter (PR #383).
GSoC 2019: Sobel and Scharr operators (PR
#392).
GSoC 2019: Median filter to remove noise from image (PR #393).
Continued adding new test cases and significantly improved
overall test coverage.
Documented purpose of cached_location_t
(PR #287).
Function convolve_1d
in Numeric extension for convenient use of convolve_rows
and convolve_cols
(PR #347)
and PR
#367).
Function extend_boundary
in Numeric extension to perform image boundary extension (PR #386).
Project release notes maintained in Markdown file RELEASES.md (PR
#404).
Changed
Move all tests, core features and extensions, inside test/
directory (PR
#302).
Removed
Replace Boost.MPL with Boost.MP11 (PR
#274).
Removed use of Boost.TypeTraits (PR
#274).
Dropped support for GCC <= 4.8 (PR
#296).
Remove include/boost/gil/version.hpp
file as unused (PR
#403).
Fixed
Undetermined value of default-initialized channel and pixel
objects (PR
#273).
Undefined behaviour due to std::is_trivially_default_constructible
specializations (PR
#284).
Crash when reading PNG files with an invalid header (PR #385).
Applied the Rule of Three for numerous types.
Removed uses of deprecated implicit definition of defaulted
copy assignment operator or copy constructor.
Histogram:
Several new features and performance improvements, some bug-fixes
See the full Release
Notes for a complete list of changes
Log:
Improved compatibility with clang-win compiler.
MPI:
Documentation clarifications.
Fixed scatterv bug when using explicit input buffer offsets.
Enable usage of MPI_Probe and friend with Intel MPI >= 2019.4
Symbol visibility on Windows
Math:
Added Hypergeometric functions 1F0, 0F1, 2F0, 1F1 and pFq.
Added Jacobi polynomial (and derivatives) evaluation.
Added Gegenbauer polynomial (and derivatives) evaluation.
Added Cardinal B-Splines (and derivatives) as polynomial functions
in their own right.
Added Cardinal Trigonometric Interpolation.
Added new statistics sub-section.
Added One Sample Student's T Test.
Added Anderson Darling test for normality.
Added Ljung Box test for auto-correlation.
Added Runs test for random sequences.
The headers boost/math/tools/univariate_statistics.hpp
and boost/math/tools/bivariate_statistics.hpp, have been deprecated in favor
of boost/math/statistics/univariate_statistics.hpp and boost/math/statistics/bivariate_statistics.hpp.
Added The Empirical CDF distribution.
Reworked the Sterling approximation used by multiprecision gamma
functions to be applicable to all the function that use the Lanczos
approximation at regular precision. Also extended Lanczos approximations
up to 100 decimal digit precision.
Multiprecision:
Big constexpr update
allows cpp_int and float128 arithmetic to be fully constexpr with gcc and clang 9 or
later, or any compiler supporting std::is_constant_evaluated().
Fix bug in variable precision mpf_float which causes it to go into
a tailspin trying to select the correct precision - see https://github.com/boostorg/multiprecision/issues/164.
Outcome:
Enhancements:
Standalone outcome is now make
install-able, and
cmake find_package() can find it. Note that you
must separately install and find_package() Outcome's dependency, quickcpplib,
else find_package() of Outcome will fail.
The git submodule mechanism used by standalone Outcome of specifying
dependent libraries has been replaced with a cmake superbuild
of dependencies mechanism instead. Upon cmake configure, an
internal copy of quickcpplib will be git cloned, built and
installed into the build directory from where an internal
find_package() uses it. This breaks the
use of the unconfigured Outcome repo as an implementation of
Outcome, one must now do one of: 1. Add Outcome as subdirectory
to cmake build. 2. Use cmake superbuild (i.e. ExternalProject_Add())
to build and install Outcome into a local installation. 3.
Use one of the single header editions.
For standalone Outcome, the current compiler is now checked
for whether it will compile code containing C++ Concepts, and
if it does, all cmake consumers of Outcome will enable C++
Concepts. Set the cmake variable CXX_CONCEPTS_FLAGS
to an empty string to prevent auto detection and enabling of
C++ Concepts support occurring.
OUTCOME_TRY
operation now hints to the compiler that operation will be
successful. [P1886 Error speed benchmarking](https://wg21.link/P1886)
showed that there is considerable gain in very small functions
by hinting to the compiler whether the expression is expected
to be successful or not. OUTCOME_TRY
previously did not hint to the compiler at all, but now it
does. A new suite of macros OUTCOME_TRY_FAILURE_LIKELY
hint to the compiler that failure is expected. If you wish
to return to the previously unhinted behaviour, define OUTCOME_TRY_LIKELY(expr)
to (!!expr).
#199
Support for C++ Coroutines has been added. This comes in two
parts, firstly there is now an OUTCOME_CO_TRY() operation suitable for performing
the TRY operation
from within a C++ Coroutine. Secondly, in the header outcome/coroutine_support.hpp there are implementations
of eager<OutcomeType>
and lazy<OutcomeType>
which let you more naturally and efficiently use basic_result or basic_outcome from within
C++ Coroutines -- specifically, if the result or outcome will
construct from an exception pointer, exceptions thrown in the
coroutine return an errored or excepted result with the thrown
exception instead of throwing the exception through the coroutine
machinery (which in current compilers, has a high likelihood
of blowing up the program). Both eager<T> and lazy<T> can accept any T as well. Both have been
tested and found working on VS2019 and clang 9.
#210
make_error_code() and make_exception_ptr() are now additionally considered
for compatible copy and move conversions for basic_result<>.
This lets you construct a basic_result<T, E> into a basic_result<T, error_code>, where E
is a custom type which has implemented the ADL discovered free
function error_code
make_error_code(E),
but is otherwise unrelated to error_code.
The same availability applies for exception_ptr
with make_exception_ptr() being the ADL discovered
free function. basic_outcome<> has less support for
this than basic_result<> in order to keep constructor
count down, but it will accept via this mechanism conversions
from basic_result<> and failure_type<>.
Bug fixes:
#184
The detection of [[nodiscard]]
support in the compiler was very mildly broken.
PolyCollection:
Maintenance work.
Preprocessor:
Topic added which discusses emptiness
Support for the C++20 __VA_OPT__
construct
BOOST_PP_VARIADIC_HAS_OPT
whether __VA_OPT__
is supported at the C++20 level
BOOST_PP_CHECK_EMPTY
test for emptiness using __VA_OPT__
at the C++20 level
BOOST_PP_VA_OPT
more flexible alternative to __VA_OPT__
at the C++20 level
Smart Pointers:
Implemented allocate_unique
for scalars and arrays. (Glen Fernandes)
Test:
Boost.test v3.12 see the Changes
log for more details.
New feature:
Support for C++17 std::string_view
has been added.
Better diagnostic on boost::exception
and no rtti mode (thanks to Mikhail Pilin / [pull_request 234])
Bug fixes and pull requests:
GitHub Issues: #206, #217, #223, #229
GitHub Pull Requests: PR#227, PR#231, PR#232,
PR#234
VMD:
BOOST_VMD_IS_EMPTY
updated to use __VA_OPT__
at the C++20 level has 100% reliability
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow and Michael Caisse managed this release.
[Less]
|
Posted
over 4 years
ago
Known Issues
These are patches from library authors which were found too late to be fixed
in the release. Be careful as they have not been through the normal testing
process.
Revert
... [More]
cease dependence on range
Coroutine
patch
Updated Libraries
Asio:
Changed the async_initiate
helper function to automatically deduce its return type, for C++11
or later.
Changed all asynchronous operations to use automatically deduced
return types, for C++14 or later.
Introduced concepts to support async_initiate.
Added the nested template type rebind_executor
to all I/O object types.
Changed the initiation function objects to report their associated
I/O executor via the nested type executor_type
and member function get_executor().
Added the default_completion_token
trait, giving I/O executor types an associated default completion
token type for use with asynchronous operations. This trait is specialised
for the use_awaitable
completion token, for example, to allow asynchronous operations to
be used as follows: co_await
socket.async_connect(my_endpoint).
Added missing async_initiate
to the Windows-specific I/O objects' asynchronous operations.
Ensured that the executor type is propagated to newly accepted sockets.
Changed to require that Protocol
copy and move operations never throw.
Changed to require that Endpoint
default constructor and move operations never throw.
Added the noexcept qualifier
to protocol accessors.
Added the noexcept qualifier
to socket move constructors.
Fixed issues associated with opening serial ports on Windows:
Use the correct constant to initialise the RTS control flag.
Specify a default baud rate (9600).
Fixed a lost "outstanding work count" that can occur when
an asynchronous accept operation is automatically restarted.
Consult the Revision
History for further details.
Atomic:
Added a workaround for __float128
not being considered as a floating point type by some versions of
libstdc++.
Improved compatibility with clang-win compiler.
Beast:
This is a maintenance update containing bug fixes, and updates to
use the new features delivered in Boost.Asio.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Circular Buffer:
Fix issue #29: max_size() now takes the allocator's max_size()
into account. (Glen Fernandes)
Context:
architecture s390x supported
execution_context removed
Endian:
Made endian_reverse,
conditional_reverse
and *_to_* constexpr
on GCC and Clang
Added convenience load and store functions
Added floating point convenience typedefs
Added a non-const overload of data(); changed its return type to unsigned char*
Added __int128 support
to endian_reverse
when available
Added a convenience header boost/endian.hpp
Filesystem:
Extracted filesystem_error
to exception.hpp; file_status
and associated enums and functions to file_status.hpp;
directory_entry,
directory_iterator
and recursive_directory_iterator
to directory.hpp.
Deprecated: For backward compatibility
operations.hpp still includes the new headers
exception.hpp, file_status.hpp
and directory.hpp, unless BOOST_FILESYSTEM_NO_DEPRECATED
macro is defined. These implicit includes are considered deprecated
and will be removed in a future release. Users are encouraged to
include the new headers directly or include filesystem.hpp.
The filesystem_error
exception is now implemented in the compiled library of Boost.Filesystem.
Users may need to add linking with Boost.Filesystem library in their
projects.
On POSIX.1-2008 platforms, use utimensat
instead of utime.
utime is declared
obsolete in POSIX.1-2008 and can be disabled e.g. in uClibc-ng. (PR#115)
directory_iterator
is now left in the end state on memory allocation errors.
In directory_iterator
on POSIX systems, support for readdir/readdir_r has been reworked to
avoid memory allocations for dirent
structures when readdir
is used. This reduces memory consumption and eliminates the possibility
of buffer overruns in case if readdir
produces a very long directory name.
On Windows, use Boost.WinAPI to select the target Windows version.
New: Added directory_options
enum, which reflects the same named enum from C++20. The enum is
supported in directory_iterator
and recursive_directory_iterator
to customize iteration behavior. In particular, the iterators now
support skipping directories that can't be opened due to insufficient
permissions. The symlink_option
enum is now deprecated and should be replaced with directory_options.
By default, recursive_directory_iterator
is now reset to the end state in case of errors, as required by C++20.
(#112)
New: Added directory_options::pop_on_error
option, which configures recursive_directory_iterator
so that it attempts to recover from iteration errors by repeatedly
invoking pop()
until it succeeds or the end state is reached. (#113)
New: Added directory_options::skip_dangling_symlinks
option, which configures recursive_directory_iterator
so that it doesn't follow dangling directory symlinks and continues
iteration instead of reporting an error.
Deprecated: The following members
of recursive_directory_iterator
are now marked as deprecated: level(), no_push_pending(), no_push_request(), no_push(). Users are advised to replace their
use with the standard counterparts: depth(), recursion_pending(), disable_recursion_pending(). Note that recursion_pending() has the opposite meaning compared
to no_push_pending() and no_push_request(). Deprecated methods will be removed
in a future release.
Fixed path::lexically_relative (and any dependent
algorithms) to correctly handle empty, dot and dot-dot path elements
in its argument. The behavior is made closer to C++17 std::path::lexically_relative in that empty
and dot path elements are ignored and dot-dot path elements are accounted
by decreasing the number of dot-dot path elements to generate in
the resulting relative path. (#76)
Functional/Factory:
Glen Fernandes rewrote the implementations of factory
and value_factory
to provide the following features:
Support r-value arguments when possible
Support arbitrary number of arguments via variadic templates
when possible
Support allocators that are final
Support allocators that use fancy pointers
Support for disabled exceptions (BOOST_NO_EXCEPTIONS)
Improved compilation times
The following features have been removed:
Increasing limits for C++03 compilers through BOOST_FUNCTIONAL_VALUE_FACTORY_MAX_ARITY
Using boost::none_t
in place of void
through BOOST_FUNCTIONAL_FACTORY_SUPPORT_NONE_T
GIL:
Added
GSoC 2019: Lanczos resampling for image down scaling (PR#309).
GSoC 2019: Methods for binary thresholding, inverted binary
thresholding and truncation thresholding (PR#313).
GSoC 2019: Otsu thresholding method (PR#314).
GSoC 2019: Adaptive thresholding using mean or gaussian-weighted
sum of the neighbourhood area (PR#315).
GSoC 2019: Harris response calculation (corner detector without
non-maximum filtering) (PR#350).
GSoC 2019: Hessian corner detector (PR#364).
GSoC 2019: Types for defining 2D kernel, kernel_2d
and kernel_2d_fixed,
in Numeric extension (PR#361).
GSoC 2019: Implementation of 2D convolution as new function
convolve_2d
(PR#367).
GSoC 2019: Box filtering using the average filter (PR#383).
GSoC 2019: Blur function based on normalized mean filter (PR#383).
GSoC 2019: Sobel and Scharr operators (PR#392).
GSoC 2019: Median filter to remove noise from image (PR#393).
Continued adding new test cases and significantly improved
overall test coverage.
Documented purpose of cached_location_t
(PR#287).
Function convolve_1d
in Numeric extension for convenient use of convolve_rows
and convolve_cols
(PR#347) and PR#367).
Function extend_boundary
in Numeric extension to perform image boundary extension (PR#386).
Project release notes maintained in Markdown file RELEASES.md (PR#404).
Changed
Move all tests, core features and extensions, inside test/
directory (PR#302).
Removed
Replace Boost.MPL with Boost.MP11 (PR#274).
Removed use of Boost.TypeTraits (PR#274).
Dropped support for GCC <= 4.8 (PR#296).
Remove include/boost/gil/version.hpp
file as unused (PR#403).
Fixed
Undetermined value of default-initialized channel and pixel
objects (PR#273).
Undefined behaviour due to std::is_trivially_default_constructible
specializations (PR#284).
Crash when reading PNG files with an invalid header (PR#385).
Applied the Rule of Three for numerous types.
Removed uses of deprecated implicit definition of defaulted
copy assignment operator or copy constructor.
Histogram:
Several new features and performance improvements, some bug-fixes
See the full Release
Notes for a complete list of changes
Log:
Improved compatibility with clang-win compiler.
MPI:
Documentation clarifications.
Fixed scatterv bug when using explicit input buffer offsets.
Enable usage of MPI_Probe and friend with Intel MPI >= 2019.4
Symbol visibility on Windows
Math:
Added Hypergeometric functions 1F0, 0F1, 2F0, 1F1 and pFq.
Added Jacobi polynomial (and derivatives) evaluation.
Added Gegenbauer polynomial (and derivatives) evaluation.
Added Cardinal B-Splines (and derivatives) as polynomial functions
in their own right.
Added Cardinal Trigonometric Interpolation.
Added new statistics sub-section.
Added One Sample Student's T Test.
Added Anderson Darling test for normality.
Added Ljung Box test for auto-correlation.
Added Runs test for random sequences.
The headers boost/math/tools/univariate_statistics.hpp
and boost/math/tools/bivariate_statistics.hpp, have been deprecated in favor
of boost/math/statistics/univariate_statistics.hpp and boost/math/statistics/bivariate_statistics.hpp.
Added The Empirical CDF distribution.
Reworked the Sterling approximation used by multiprecision gamma
functions to be applicable to all the function that use the Lanczos
approximation at regular precision. Also extended Lanczos approximations
up to 100 decimal digit precision.
Multiprecision:
Big constexpr update
allows cpp_int and float128 arithmetic to be fully constexpr with gcc and clang 9 or
later, or any compiler supporting std::is_constant_evaluated().
Fix bug in variable precision mpf_float which causes it to go into
a tailspin trying to select the correct precision - see https://github.com/boostorg/multiprecision/issues/164.
Outcome:
Enhancements:
Standalone outcome is now make
install-able, and
cmake find_package() can find it. Note that you
must separately install and find_package() Outcome's dependency, quickcpplib,
else find_package() of Outcome will fail.
The git submodule mechanism used by standalone Outcome of specifying
dependent libraries has been replaced with a cmake superbuild
of dependencies mechanism instead. Upon cmake configure, an
internal copy of quickcpplib will be git cloned, built and
installed into the build directory from where an internal
find_package() uses it. This breaks the
use of the unconfigured Outcome repo as an implementation of
Outcome, one must now do one of: 1. Add Outcome as subdirectory
to cmake build. 2. Use cmake superbuild (i.e. ExternalProject_Add())
to build and install Outcome into a local installation. 3.
Use one of the single header editions.
For standalone Outcome, the current compiler is now checked
for whether it will compile code containing C++ Concepts, and
if it does, all cmake consumers of Outcome will enable C++
Concepts. Set the cmake variable CXX_CONCEPTS_FLAGS
to an empty string to prevent auto detection and enabling of
C++ Concepts support occurring.
OUTCOME_TRY
operation now hints to the compiler that operation will be
successful. P1886 Error speed benchmarking showed
that there is considerable gain in very small functions by
hinting to the compiler whether the expression is expected
to be successful or not. OUTCOME_TRY
previously did not hint to the compiler at all, but now it
does. A new suite of macros OUTCOME_TRY_FAILURE_LIKELY
hint to the compiler that failure is expected. If you wish
to return to the previously unhinted behaviour, define OUTCOME_TRY_LIKELY(expr)
to (!!expr).
#199
Support for C++ Coroutines has been added. This comes in two
parts, firstly there is now an OUTCOME_CO_TRY() operation suitable for performing
the TRY operation
from within a C++ Coroutine. Secondly, in the header outcome/coroutine_support.hpp there are implementations
of eager<OutcomeType>
and lazy<OutcomeType>
which let you more naturally and efficiently use basic_result or basic_outcome from within
C++ Coroutines -- specifically, if the result or outcome will
construct from an exception pointer, exceptions thrown in the
coroutine return an errored or excepted result with the thrown
exception instead of throwing the exception through the coroutine
machinery (which in current compilers, has a high likelihood
of blowing up the program). Both eager<T> and lazy<T> can accept any T as well. Both have been
tested and found working on VS2019 and clang 9.
#210
make_error_code() and make_exception_ptr() are now additionally considered
for compatible copy and move conversions for basic_result<>.
This lets you construct a basic_result<T, E> into a basic_result<T, error_code>, where E
is a custom type which has implemented the ADL discovered free
function error_code
make_error_code(E),
but is otherwise unrelated to error_code.
The same availability applies for exception_ptr
with make_exception_ptr() being the ADL discovered
free function. basic_outcome<> has less support for
this than basic_result<> in order to keep constructor
count down, but it will accept via this mechanism conversions
from basic_result<> and failure_type<>.
Bug fixes:
#184
The detection of [[nodiscard]]
support in the compiler was very mildly broken.
PolyCollection:
Maintenance work.
Preprocessor:
Topic added which discusses emptiness
Support for the C++20 __VA_OPT__
construct
BOOST_PP_VARIADIC_HAS_OPT
whether __VA_OPT__
is supported at the C++20 level
BOOST_PP_CHECK_EMPTY
test for emptiness using __VA_OPT__
at the C++20 level
BOOST_PP_VA_OPT
more flexible alternative to __VA_OPT__
at the C++20 level
Smart Pointers:
Implemented allocate_unique
for scalars and arrays. (Glen Fernandes)
Test:
Boost.test v3.12 see the Changes
log for more details.
New feature:
Support for C++17 std::string_view
has been added.
Better diagnostic on boost::exception
and no rtti mode (thanks to Mikhail Pilin / [pull_request 234])
Bug fixes and pull requests:
GitHub Issues: #206, #217, #223, #229
GitHub Pull Requests: PR#227, PR#231, PR#232,
PR#234
VMD:
BOOST_VMD_IS_EMPTY
updated to use __VA_OPT__
at the C++20 level has 100% reliability
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow and Michael Caisse managed this release.
[Less]
|
Posted
over 4 years
ago
Known Issues
These are patches from library authors which were found too late to be fixed
in the release. Be careful as they have not been through the normal testing
process.
Revert
... [More]
cease dependence on range
Coroutine
patch
Updated Libraries
Asio:
Changed the async_initiate
helper function to automatically deduce its return type, for C++11
or later.
Changed all asynchronous operations to use automatically deduced
return types, for C++14 or later.
Introduced concepts to support async_initiate.
Added the nested template type rebind_executor
to all I/O object types.
Changed the initiation function objects to report their associated
I/O executor via the nested type executor_type
and member function get_executor().
Added the default_completion_token
trait, giving I/O executor types an associated default completion
token type for use with asynchronous operations. This trait is specialised
for the use_awaitable
completion token, for example, to allow asynchronous operations to
be used as follows: co_await
socket.async_connect(my_endpoint).
Added missing async_initiate
to the Windows-specific I/O objects' asynchronous operations.
Ensured that the executor type is propagated to newly accepted sockets.
Changed to require that Protocol
copy and move operations never throw.
Changed to require that Endpoint
default constructor and move operations never throw.
Added the noexcept qualifier
to protocol accessors.
Added the noexcept qualifier
to socket move constructors.
Fixed issues associated with opening serial ports on Windows:
Use the correct constant to initialise the RTS control flag.
Specify a default baud rate (9600).
Fixed a lost "outstanding work count" that can occur when
an asynchronous accept operation is automatically restarted.
Consult the Revision
History for further details.
Atomic:
Added a workaround for __float128
not being considered as a floating point type by some versions of
libstdc++.
Improved compatibility with clang-win compiler.
Beast:
This is a maintenance update containing bug fixes, and updates to
use the new features delivered in Boost.Asio.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Circular Buffer:
Fix issue #29: max_size() now takes the allocator's max_size()
into account. (Glen Fernandes)
Context:
architecture s390x supported
execution_context removed
Endian:
Made endian_reverse,
conditional_reverse
and *_to_* constexpr
on GCC and Clang
Added convenience load and store functions
Added floating point convenience typedefs
Added a non-const overload of data(); changed its return type to unsigned char*
Added __int128 support
to endian_reverse
when available
Added a convenience header boost/endian.hpp
Filesystem:
Extracted filesystem_error
to exception.hpp; file_status
and associated enums and functions to file_status.hpp;
directory_entry,
directory_iterator
and recursive_directory_iterator
to directory.hpp.
Deprecated: For backward compatibility
operations.hpp still includes the new headers
exception.hpp, file_status.hpp
and directory.hpp, unless BOOST_FILESYSTEM_NO_DEPRECATED
macro is defined. These implicit includes are considered deprecated
and will be removed in a future release. Users are encouraged to
include the new headers directly or include filesystem.hpp.
The filesystem_error
exception is now implemented in the compiled library of Boost.Filesystem.
Users may need to add linking with Boost.Filesystem library in their
projects.
On POSIX.1-2008 platforms, use utimensat
instead of utime.
utime is declared
obsolete in POSIX.1-2008 and can be disabled e.g. in uClibc-ng. (PR#115)
directory_iterator
is now left in the end state on memory allocation errors.
In directory_iterator
on POSIX systems, support for readdir/readdir_r has been reworked to
avoid memory allocations for dirent
structures when readdir
is used. This reduces memory consumption and eliminates the possibility
of buffer overruns in case if readdir
produces a very long directory name.
On Windows, use Boost.WinAPI to select the target Windows version.
New: Added directory_options
enum, which reflects the same named enum from C++20. The enum is
supported in directory_iterator
and recursive_directory_iterator
to customize iteration behavior. In particular, the iterators now
support skipping directories that can't be opened due to insufficient
permissions. The symlink_option
enum is now deprecated and should be replaced with directory_options.
By default, recursive_directory_iterator
is now reset to the end state in case of errors, as required by C++20.
(#112)
New: Added directory_options::pop_on_error
option, which configures recursive_directory_iterator
so that it attempts to recover from iteration errors by repeatedly
invoking pop()
until it succeeds or the end state is reached. (#113)
New: Added directory_options::skip_dangling_symlinks
option, which configures recursive_directory_iterator
so that it doesn't follow dangling directory symlinks and continues
iteration instead of reporting an error.
Deprecated: The following members
of recursive_directory_iterator
are now marked as deprecated: level(), no_push_pending(), no_push_request(), no_push(). Users are advised to replace their
use with the standard counterparts: depth(), recursion_pending(), disable_recursion_pending(). Note that recursion_pending() has the opposite meaning compared
to no_push_pending() and no_push_request(). Deprecated methods will be removed
in a future release.
Fixed path::lexically_relative (and any dependent
algorithms) to correctly handle empty, dot and dot-dot path elements
in its argument. The behavior is made closer to C++17 std::path::lexically_relative in that empty
and dot path elements are ignored and dot-dot path elements are accounted
by decreasing the number of dot-dot path elements to generate in
the resulting relative path. (#76)
Functional/Factory:
Glen Fernandes rewrote the implementations of factory
and value_factory
to provide the following features:
Support r-value arguments when possible
Support arbitrary number of arguments via variadic templates
when possible
Support allocators that are final
Support allocators that use fancy pointers
Support for disabled exceptions (BOOST_NO_EXCEPTIONS)
Improved compilation times
The following features have been removed:
Increasing limits for C++03 compilers through BOOST_FUNCTIONAL_VALUE_FACTORY_MAX_ARITY
Using boost::none_t
in place of void
through BOOST_FUNCTIONAL_FACTORY_SUPPORT_NONE_T
GIL:
Added
GSoC 2019: Lanczos resampling for image down scaling (PR #309).
GSoC 2019: Methods for binary thresholding, inverted binary
thresholding and truncation thresholding (PR
#313).
GSoC 2019: Otsu thresholding method (PR
#314).
GSoC 2019: Adaptive thresholding using mean or gaussian-weighted
sum of the neighbourhood area (PR
#315).
GSoC 2019: Harris response calculation (corner detector without
non-maximum filtering) (PR
#350).
GSoC 2019: Hessian corner detector (PR
#364).
GSoC 2019: Types for defining 2D kernel, kernel_2d
and kernel_2d_fixed,
in Numeric extension (PR
#361).
GSoC 2019: Implementation of 2D convolution as new function
convolve_2d
(PR #367).
GSoC 2019: Box filtering using the average filter (PR
#383).
GSoC 2019: Blur function based on normalized mean filter (PR #383).
GSoC 2019: Sobel and Scharr operators (PR
#392).
GSoC 2019: Median filter to remove noise from image (PR #393).
Continued adding new test cases and significantly improved
overall test coverage.
Documented purpose of cached_location_t
(PR #287).
Function convolve_1d
in Numeric extension for convenient use of convolve_rows
and convolve_cols
(PR #347)
and PR
#367).
Function extend_boundary
in Numeric extension to perform image boundary extension (PR #386).
Project release notes maintained in Markdown file RELEASES.md (PR
#404).
Changed
Move all tests, core features and extensions, inside test/
directory (PR
#302).
Removed
Replace Boost.MPL with Boost.MP11 (PR
#274).
Removed use of Boost.TypeTraits (PR
#274).
Dropped support for GCC <= 4.8 (PR
#296).
Remove include/boost/gil/version.hpp
file as unused (PR
#403).
Fixed
Undetermined value of default-initialized channel and pixel
objects (PR
#273).
Undefined behaviour due to std::is_trivially_default_constructible
specializations (PR
#284).
Crash when reading PNG files with an invalid header (PR #385).
Applied the Rule of Three for numerous types.
Removed uses of deprecated implicit definition of defaulted
copy assignment operator or copy constructor.
Histogram:
Several new features and performance improvements, some bug-fixes
See the full Release
Notes for a complete list of changes
Log:
Improved compatibility with clang-win compiler.
MPI:
Documentation clarifications.
Fixed scatterv bug when using explicit input buffer offsets.
Enable usage of MPI_Probe and friend with Intel MPI >= 2019.4
Symbol visibility on Windows
Math:
Added Hypergeometric functions 1F0, 0F1, 2F0, 1F1 and pFq.
Added Jacobi polynomial (and derivatives) evaluation.
Added Gegenbauer polynomial (and derivatives) evaluation.
Added Cardinal B-Splines (and derivatives) as polynomial functions
in their own right.
Added Cardinal Trigonometric Interpolation.
Added new statistics sub-section.
Added One Sample Student's T Test.
Added Anderson Darling test for normality.
Added Ljung Box test for auto-correlation.
Added Runs test for random sequences.
The headers boost/math/tools/univariate_statistics.hpp
and boost/math/tools/bivariate_statistics.hpp, have been deprecated in favor
of boost/math/statistics/univariate_statistics.hpp and boost/math/statistics/bivariate_statistics.hpp.
Added The Empirical CDF distribution.
Reworked the Sterling approximation used by multiprecision gamma
functions to be applicable to all the function that use the Lanczos
approximation at regular precision. Also extended Lanczos approximations
up to 100 decimal digit precision.
Multiprecision:
Big constexpr update
allows cpp_int and float128 arithmetic to be fully constexpr with gcc and clang 9 or
later, or any compiler supporting std::is_constant_evaluated().
Fix bug in variable precision mpf_float which causes it to go into
a tailspin trying to select the correct precision - see https://github.com/boostorg/multiprecision/issues/164.
Outcome:
Enhancements:
Standalone outcome is now make
install-able, and
cmake find_package() can find it. Note that you
must separately install and find_package() Outcome's dependency, quickcpplib,
else find_package() of Outcome will fail.
The git submodule mechanism used by standalone Outcome of specifying
dependent libraries has been replaced with a cmake superbuild
of dependencies mechanism instead. Upon cmake configure, an
internal copy of quickcpplib will be git cloned, built and
installed into the build directory from where an internal
find_package() uses it. This breaks the
use of the unconfigured Outcome repo as an implementation of
Outcome, one must now do one of: 1. Add Outcome as subdirectory
to cmake build. 2. Use cmake superbuild (i.e. ExternalProject_Add())
to build and install Outcome into a local installation. 3.
Use one of the single header editions.
For standalone Outcome, the current compiler is now checked
for whether it will compile code containing C++ Concepts, and
if it does, all cmake consumers of Outcome will enable C++
Concepts. Set the cmake variable CXX_CONCEPTS_FLAGS
to an empty string to prevent auto detection and enabling of
C++ Concepts support occurring.
OUTCOME_TRY
operation now hints to the compiler that operation will be
successful. [P1886 Error speed benchmarking](https://wg21.link/P1886)
showed that there is considerable gain in very small functions
by hinting to the compiler whether the expression is expected
to be successful or not. OUTCOME_TRY
previously did not hint to the compiler at all, but now it
does. A new suite of macros OUTCOME_TRY_FAILURE_LIKELY
hint to the compiler that failure is expected. If you wish
to return to the previously unhinted behaviour, define OUTCOME_TRY_LIKELY(expr)
to (!!expr).
#199
Support for C++ Coroutines has been added. This comes in two
parts, firstly there is now an OUTCOME_CO_TRY() operation suitable for performing
the TRY operation
from within a C++ Coroutine. Secondly, in the header outcome/coroutine_support.hpp there are implementations
of eager<OutcomeType>
and lazy<OutcomeType>
which let you more naturally and efficiently use basic_result or basic_outcome from within
C++ Coroutines -- specifically, if the result or outcome will
construct from an exception pointer, exceptions thrown in the
coroutine return an errored or excepted result with the thrown
exception instead of throwing the exception through the coroutine
machinery (which in current compilers, has a high likelihood
of blowing up the program). Both eager<T> and lazy<T> can accept any T as well. Both have been
tested and found working on VS2019 and clang 9.
#210
make_error_code() and make_exception_ptr() are now additionally considered
for compatible copy and move conversions for basic_result<>.
This lets you construct a basic_result<T, E> into a basic_result<T, error_code>, where E
is a custom type which has implemented the ADL discovered free
function error_code
make_error_code(E),
but is otherwise unrelated to error_code.
The same availability applies for exception_ptr
with make_exception_ptr() being the ADL discovered
free function. basic_outcome<> has less support for
this than basic_result<> in order to keep constructor
count down, but it will accept via this mechanism conversions
from basic_result<> and failure_type<>.
Bug fixes:
#184
The detection of [[nodiscard]]
support in the compiler was very mildly broken.
PolyCollection:
Maintenance work.
Preprocessor:
Topic added which discusses emptiness
Support for the C++20 __VA_OPT__
construct
BOOST_PP_VARIADIC_HAS_OPT
whether __VA_OPT__
is supported at the C++20 level
BOOST_PP_CHECK_EMPTY
test for emptiness using __VA_OPT__
at the C++20 level
BOOST_PP_VA_OPT
more flexible alternative to __VA_OPT__
at the C++20 level
Smart Pointers:
Implemented allocate_unique
for scalars and arrays. (Glen Fernandes)
Test:
Boost.test v3.12 see the Changes
log for more details.
New feature:
Support for C++17 std::string_view
has been added.
Better diagnostic on boost::exception
and no rtti mode (thanks to Mikhail Pilin / [pull_request 234])
Bug fixes and pull requests:
GitHub Issues: #206, #217, #223, #229
GitHub Pull Requests: PR#227, PR#231, PR#232,
PR#234
VMD:
BOOST_VMD_IS_EMPTY
updated to use __VA_OPT__
at the C++20 level has 100% reliability
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow and Michael Caisse managed this release.
[Less]
|
Posted
over 4 years
ago
Updated Libraries
Asio:
Changed the async_initiate
helper function to automatically deduce its return type, for C++11
or
... [More]
later.
Changed all asynchronous operations to use automatically deduced
return types, for C++14 or later.
Introduced concepts to support async_initiate.
Added the nested template type rebind_executor
to all I/O object types.
Changed the initiation function objects to report their associated
I/O executor via the nested type executor_type
and member function get_executor().
Added the default_completion_token
trait, giving I/O executor types an associated default completion
token type for use with asynchronous operations. This trait is specialised
for the use_awaitable
completion token, for example, to allow asynchronous operations to
be used as follows: co_await
socket.async_connect(my_endpoint).
Added missing async_initiate
to the Windows-specific I/O objects' asynchronous operations.
Ensured that the executor type is propagated to newly accepted sockets.
Changed to require that Protocol
copy and move operations never throw.
Changed to require that Endpoint
default constructor and move operations never throw.
Added the noexcept qualifier
to protocol accessors.
Added the noexcept qualifier
to socket move constructors.
Fixed issues associated with opening serial ports on Windows:
Use the correct constant to initialise the RTS control flag.
Specify a default baud rate (9600).
Fixed a lost "outstanding work count" that can occur when
an asynchronous accept operation is automatically restarted.
Consult the Revision
History for further details.
Atomic:
Added a workaround for __float128
not being considered as a floating point type by some versions of
libstdc++.
Improved compatibility with clang-win compiler.
Beast:
This is a maintenance update containing bug fixes, and updates to
use the new features delivered in Boost.Asio.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Circular Buffer:
Fix issue #29: max_size() now takes the allocator's max_size()
into account. (Glen Fernandes)
Context:
architecture s390x supported
execution_context removed
Endian:
Made endian_reverse,
conditional_reverse
and *_to_* constexpr
on GCC and Clang
Added convenience load and store functions
Added floating point convenience typedefs
Added a non-const overload of data(); changed its return type to unsigned char*
Added __int128 support
to endian_reverse
when available
Added a convenience header boost/endian.hpp
Filesystem:
Extracted filesystem_error
to exception.hpp; file_status
and associated enums and functions to file_status.hpp;
directory_entry,
directory_iterator
and recursive_directory_iterator
to directory.hpp.
Deprecated: For backward compatibility
operations.hpp still includes the new headers
exception.hpp, file_status.hpp
and directory.hpp, unless BOOST_FILESYSTEM_NO_DEPRECATED
macro is defined. These implicit includes are considered deprecated
and will be removed in a future release. Users are encouraged to
include the new headers directly or include filesystem.hpp.
The filesystem_error
exception is now implemented in the compiled library of Boost.Filesystem.
Users may need to add linking with Boost.Filesystem library in their
projects.
On POSIX.1-2008 platforms, use utimensat
instead of utime.
utime is declared
obsolete in POSIX.1-2008 and can be disabled e.g. in uClibc-ng. (PR#115)
directory_iterator
is now left in the end state on memory allocation errors.
In directory_iterator
on POSIX systems, support for readdir/readdir_r has been reworked to
avoid memory allocations for dirent
structures when readdir
is used. This reduces memory consumption and eliminates the possibility
of buffer overruns in case if readdir
produces a very long directory name.
On Windows, use Boost.WinAPI to select the target Windows version.
New: Added directory_options
enum, which reflects the same named enum from C++20. The enum is
supported in directory_iterator
and recursive_directory_iterator
to customize iteration behavior. In particular, the iterators now
support skipping directories that can't be opened due to insufficient
permissions. The symlink_option
enum is now deprecated and should be replaced with directory_options.
By default, recursive_directory_iterator
is now reset to the end state in case of errors, as required by C++20.
(#112)
New: Added directory_options::pop_on_error
option, which configures recursive_directory_iterator
so that it attempts to recover from iteration errors by repeatedly
invoking pop()
until it succeeds or the end state is reached. (#113)
New: Added directory_options::skip_dangling_symlinks
option, which configures recursive_directory_iterator
so that it doesn't follow dangling directory symlinks and continues
iteration instead of reporting an error.
Deprecated: The following members
of recursive_directory_iterator
are now marked as deprecated: level(), no_push_pending(), no_push_request(), no_push(). Users are advised to replace their
use with the standard counterparts: depth(), recursion_pending(), disable_recursion_pending(). Note that recursion_pending() has the opposite meaning compared
to no_push_pending() and no_push_request(). Deprecated methods will be removed
in a future release.
Fixed path::lexically_relative (and any dependent
algorithms) to correctly handle empty, dot and dot-dot path elements
in its argument. The behavior is made closer to C++17 std::path::lexically_relative in that empty
and dot path elements are ignored and dot-dot path elements are accounted
by decreasing the number of dot-dot path elements to generate in
the resulting relative path. (#76)
Functional/Factory:
Glen Fernandes rewrote the implementations of factory
and value_factory
to provide the following features:
Support r-value arguments when possible
Support arbitrary number of arguments via variadic templates
when possible
Support allocators that are final
Support allocators that use fancy pointers
Support for disabled exceptions (BOOST_NO_EXCEPTIONS)
Improved compilation times
The following features have been removed:
Increasing limits for C++03 compilers through BOOST_FUNCTIONAL_VALUE_FACTORY_MAX_ARITY
Using boost::none_t
in place of void
through BOOST_FUNCTIONAL_FACTORY_SUPPORT_NONE_T
GIL:
Added
GSoC 2019: Lanczos resampling for image down scaling (PR #309).
GSoC 2019: Methods for binary thresholding, inverted binary
thresholding and truncation thresholding (PR
#313).
GSoC 2019: Otsu thresholding method (PR
#314).
GSoC 2019: Adaptive thresholding using mean or gaussian-weighted
sum of the neighbourhood area (PR
#315).
GSoC 2019: Harris response calculation (corner detector without
non-maximum filtering) (PR
#350).
GSoC 2019: Hessian corner detector (PR
#364).
GSoC 2019: Types for defining 2D kernel, kernel_2d
and kernel_2d_fixed,
in Numeric extension (PR
#361).
GSoC 2019: Implementation of 2D convolution as new function
convolve_2d
(PR #367).
GSoC 2019: Box filtering using the average filter (PR
#383).
GSoC 2019: Blur function based on normalized mean filter (PR #383).
GSoC 2019: Sobel and Scharr operators (PR
#392).
GSoC 2019: Median filter to remove noise from image (PR #393).
Continued adding new test cases and significantly improved
overall test coverage.
Documented purpose of cached_location_t
(PR #287).
Function convolve_1d
in Numeric extension for convenient use of convolve_rows
and convolve_cols
(PR #347)
and PR
#367).
Function extend_boundary
in Numeric extension to perform image boundary extension (PR #386).
Project release notes maintained in Markdown file RELEASES.md (PR
#404).
Changed
Move all tests, core features and extensions, inside test/
directory (PR
#302).
Removed
Replace Boost.MPL with Boost.MP11 (PR
#274).
Removed use of Boost.TypeTraits (PR
#274).
Dropped support for GCC <= 4.8 (PR
#296).
Remove include/boost/gil/version.hpp
file as unused (PR
#403).
Fixed
Undetermined value of default-initialized channel and pixel
objects (PR
#273).
Undefined behaviour due to std::is_trivially_default_constructible
specializations (PR
#284).
Crash when reading PNG files with an invalid header (PR #385).
Applied the Rule of Three for numerous types.
Removed uses of deprecated implicit definition of defaulted
copy assignment operator or copy constructor.
Histogram:
Several new features and performance improvements, some bug-fixes
See the full Release
Notes for a complete list of changes
Log:
Improved compatibility with clang-win compiler.
MPI:
Documentation clarifications.
Fixed scatterv bug when using explicit input buffer offsets.
Enable usage of MPI_Probe and friend with Intel MPI >= 2019.4
Symbol visibility on Windows
Math:
Added Hypergeometric functions 1F0, 0F1, 2F0, 1F1 and pFq.
Added Jacobi polynomial (and derivatives) evaluation.
Added Gegenbauer polynomial (and derivatives) evaluation.
Added Cardinal B-Splines (and derivatives) as polynomial functions
in their own right.
Added Cardinal Trigonometric Interpolation.
Added new statistics sub-section.
Added One Sample Student's T Test.
Added Anderson Darling test for normality.
Added Ljung Box test for auto-correlation.
Added Runs test for random sequences.
The headers boost/math/tools/univariate_statistics.hpp
and boost/math/tools/bivariate_statistics.hpp, have been deprecated in favor
of boost/math/statistics/univariate_statistics.hpp and boost/math/statistics/bivariate_statistics.hpp.
Added The Empirical CDF distribution.
Reworked the Sterling approximation used by multiprecision gamma
functions to be applicable to all the function that use the Lanczos
approximation at regular precision. Also extended Lanczos approximations
up to 100 decimal digit precision.
Multiprecision:
Big constexpr update
allows cpp_int and float128 arithmetic to be fully constexpr with gcc and clang 9 or
later, or any compiler supporting std::is_constant_evaluated().
Fix bug in variable precision mpf_float which causes it to go into
a tailspin trying to select the correct precision - see https://github.com/boostorg/multiprecision/issues/164.
Outcome:
Enhancements:
Standalone outcome is now make
install-able, and
cmake find_package() can find it. Note that you
must separately install and find_package() Outcome's dependency, quickcpplib,
else find_package() of Outcome will fail.
The git submodule mechanism used by standalone Outcome of specifying
dependent libraries has been replaced with a cmake superbuild
of dependencies mechanism instead. Upon cmake configure, an
internal copy of quickcpplib will be git cloned, built and
installed into the build directory from where an internal
find_package() uses it. This breaks the
use of the unconfigured Outcome repo as an implementation of
Outcome, one must now do one of: 1. Add Outcome as subdirectory
to cmake build. 2. Use cmake superbuild (i.e. ExternalProject_Add())
to build and install Outcome into a local installation. 3.
Use one of the single header editions.
For standalone Outcome, the current compiler is now checked
for whether it will compile code containing C++ Concepts, and
if it does, all cmake consumers of Outcome will enable C++
Concepts. Set the cmake variable CXX_CONCEPTS_FLAGS
to an empty string to prevent auto detection and enabling of
C++ Concepts support occurring.
OUTCOME_TRY
operation now hints to the compiler that operation will be
successful. [P1886 Error speed benchmarking](https://wg21.link/P1886)
showed that there is considerable gain in very small functions
by hinting to the compiler whether the expression is expected
to be successful or not. OUTCOME_TRY
previously did not hint to the compiler at all, but now it
does. A new suite of macros OUTCOME_TRY_FAILURE_LIKELY
hint to the compiler that failure is expected. If you wish
to return to the previously unhinted behaviour, define OUTCOME_TRY_LIKELY(expr)
to (!!expr).
#199
Support for C++ Coroutines has been added. This comes in two
parts, firstly there is now an OUTCOME_CO_TRY() operation suitable for performing
the TRY operation
from within a C++ Coroutine. Secondly, in the header outcome/coroutine_support.hpp there are implementations
of eager<OutcomeType>
and lazy<OutcomeType>
which let you more naturally and efficiently use basic_result or basic_outcome from within
C++ Coroutines -- specifically, if the result or outcome will
construct from an exception pointer, exceptions thrown in the
coroutine return an errored or excepted result with the thrown
exception instead of throwing the exception through the coroutine
machinery (which in current compilers, has a high likelihood
of blowing up the program). Both eager<T> and lazy<T> can accept any T as well. Both have been
tested and found working on VS2019 and clang 9.
#210
make_error_code() and make_exception_ptr() are now additionally considered
for compatible copy and move conversions for basic_result<>.
This lets you construct a basic_result<T, E> into a basic_result<T, error_code>, where E
is a custom type which has implemented the ADL discovered free
function error_code
make_error_code(E),
but is otherwise unrelated to error_code.
The same availability applies for exception_ptr
with make_exception_ptr() being the ADL discovered
free function. basic_outcome<> has less support for
this than basic_result<> in order to keep constructor
count down, but it will accept via this mechanism conversions
from basic_result<> and failure_type<>.
Bug fixes:
#184
The detection of [[nodiscard]]
support in the compiler was very mildly broken.
PolyCollection:
Maintenance work.
Preprocessor:
Topic added which discusses emptiness
Support for the C++20 __VA_OPT__
construct
BOOST_PP_VARIADIC_HAS_OPT
whether __VA_OPT__
is supported at the C++20 level
BOOST_PP_CHECK_EMPTY
test for emptiness using __VA_OPT__
at the C++20 level
BOOST_PP_VA_OPT
more flexible alternative to __VA_OPT__
at the C++20 level
Smart Pointers:
Implemented allocate_unique
for scalars and arrays. (Glen Fernandes)
Test:
Boost.test v3.12 see the Changes
log for more details.
New feature:
Support for C++17 std::string_view
has been added.
Better diagnostic on boost::exception
and no rtti mode (thanks to Mikhail Pilin / [pull_request 234])
Bug fixes and pull requests:
GitHub Issues: #206, #217, #223, #229
GitHub Pull Requests: PR#227, PR#231, PR#232,
PR#234
VMD:
BOOST_VMD_IS_EMPTY
updated to use __VA_OPT__
at the C++20 level has 100% reliability
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow and Michael Caisse managed this release.
[Less]
|
Posted
over 4 years
ago
Known Issues
These are patches from library authors which were found too late to be fixed
in the release. Be careful as they have not been through the normal testing
process.
Revert
... [More]
cease dependence on range
Coroutine
patch
Updated Libraries
Asio:
Changed the async_initiate
helper function to automatically deduce its return type, for C++11
or later.
Changed all asynchronous operations to use automatically deduced
return types, for C++14 or later.
Introduced concepts to support async_initiate.
Added the nested template type rebind_executor
to all I/O object types.
Changed the initiation function objects to report their associated
I/O executor via the nested type executor_type
and member function get_executor().
Added the default_completion_token
trait, giving I/O executor types an associated default completion
token type for use with asynchronous operations. This trait is specialised
for the use_awaitable
completion token, for example, to allow asynchronous operations to
be used as follows: co_await
socket.async_connect(my_endpoint).
Added missing async_initiate
to the Windows-specific I/O objects' asynchronous operations.
Ensured that the executor type is propagated to newly accepted sockets.
Changed to require that Protocol
copy and move operations never throw.
Changed to require that Endpoint
default constructor and move operations never throw.
Added the noexcept qualifier
to protocol accessors.
Added the noexcept qualifier
to socket move constructors.
Fixed issues associated with opening serial ports on Windows:
Use the correct constant to initialise the RTS control flag.
Specify a default baud rate (9600).
Fixed a lost "outstanding work count" that can occur when
an asynchronous accept operation is automatically restarted.
Consult the Revision
History for further details.
Atomic:
Added a workaround for __float128
not being considered as a floating point type by some versions of
libstdc++.
Improved compatibility with clang-win compiler.
Beast:
This is a maintenance update containing bug fixes, and updates to
use the new features delivered in Boost.Asio.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Circular Buffer:
Fix issue #29: max_size() now takes the allocator's max_size()
into account. (Glen Fernandes)
Context:
architecture s390x supported
execution_context removed
Endian:
Made endian_reverse,
conditional_reverse
and *_to_* constexpr
on GCC and Clang
Added convenience load and store functions
Added floating point convenience typedefs
Added a non-const overload of data(); changed its return type to unsigned char*
Added __int128 support
to endian_reverse
when available
Added a convenience header boost/endian.hpp
Filesystem:
Extracted filesystem_error
to exception.hpp; file_status
and associated enums and functions to file_status.hpp;
directory_entry,
directory_iterator
and recursive_directory_iterator
to directory.hpp.
Deprecated: For backward compatibility
operations.hpp still includes the new headers
exception.hpp, file_status.hpp
and directory.hpp, unless BOOST_FILESYSTEM_NO_DEPRECATED
macro is defined. These implicit includes are considered deprecated
and will be removed in a future release. Users are encouraged to
include the new headers directly or include filesystem.hpp.
The filesystem_error
exception is now implemented in the compiled library of Boost.Filesystem.
Users may need to add linking with Boost.Filesystem library in their
projects.
On POSIX.1-2008 platforms, use utimensat
instead of utime.
utime is declared
obsolete in POSIX.1-2008 and can be disabled e.g. in uClibc-ng. (PR#115)
directory_iterator
is now left in the end state on memory allocation errors.
In directory_iterator
on POSIX systems, support for readdir/readdir_r has been reworked to
avoid memory allocations for dirent
structures when readdir
is used. This reduces memory consumption and eliminates the possibility
of buffer overruns in case if readdir
produces a very long directory name.
On Windows, use Boost.WinAPI to select the target Windows version.
New: Added directory_options
enum, which reflects the same named enum from C++20. The enum is
supported in directory_iterator
and recursive_directory_iterator
to customize iteration behavior. In particular, the iterators now
support skipping directories that can't be opened due to insufficient
permissions. The symlink_option
enum is now deprecated and should be replaced with directory_options.
By default, recursive_directory_iterator
is now reset to the end state in case of errors, as required by C++20.
(#112)
New: Added directory_options::pop_on_error
option, which configures recursive_directory_iterator
so that it attempts to recover from iteration errors by repeatedly
invoking pop()
until it succeeds or the end state is reached. (#113)
New: Added directory_options::skip_dangling_symlinks
option, which configures recursive_directory_iterator
so that it doesn't follow dangling directory symlinks and continues
iteration instead of reporting an error.
Deprecated: The following members
of recursive_directory_iterator
are now marked as deprecated: level(), no_push_pending(), no_push_request(), no_push(). Users are advised to replace their
use with the standard counterparts: depth(), recursion_pending(), disable_recursion_pending(). Note that recursion_pending() has the opposite meaning compared
to no_push_pending() and no_push_request(). Deprecated methods will be removed
in a future release.
Fixed path::lexically_relative (and any dependent
algorithms) to correctly handle empty, dot and dot-dot path elements
in its argument. The behavior is made closer to C++17 std::path::lexically_relative in that empty
and dot path elements are ignored and dot-dot path elements are accounted
by decreasing the number of dot-dot path elements to generate in
the resulting relative path. (#76)
Functional/Factory:
Glen Fernandes rewrote the implementations of factory
and value_factory
to provide the following features:
Support r-value arguments when possible
Support arbitrary number of arguments via variadic templates
when possible
Support allocators that are final
Support allocators that use fancy pointers
Support for disabled exceptions (BOOST_NO_EXCEPTIONS)
Improved compilation times
The following features have been removed:
Increasing limits for C++03 compilers through BOOST_FUNCTIONAL_VALUE_FACTORY_MAX_ARITY
Using boost::none_t
in place of void
through BOOST_FUNCTIONAL_FACTORY_SUPPORT_NONE_T
GIL:
Added
GSoC 2019: Lanczos resampling for image down scaling (PR #309).
GSoC 2019: Methods for binary thresholding, inverted binary
thresholding and truncation thresholding (PR
#313).
GSoC 2019: Otsu thresholding method (PR
#314).
GSoC 2019: Adaptive thresholding using mean or gaussian-weighted
sum of the neighbourhood area (PR
#315).
GSoC 2019: Harris response calculation (corner detector without
non-maximum filtering) (PR
#350).
GSoC 2019: Hessian corner detector (PR
#364).
GSoC 2019: Types for defining 2D kernel, kernel_2d
and kernel_2d_fixed,
in Numeric extension (PR
#361).
GSoC 2019: Implementation of 2D convolution as new function
convolve_2d
(PR #367).
GSoC 2019: Box filtering using the average filter (PR
#383).
GSoC 2019: Blur function based on normalized mean filter (PR #383).
GSoC 2019: Sobel and Scharr operators (PR
#392).
GSoC 2019: Median filter to remove noise from image (PR #393).
Continued adding new test cases and significantly improved
overall test coverage.
Documented purpose of cached_location_t
(PR #287).
Function convolve_1d
in Numeric extension for convenient use of convolve_rows
and convolve_cols
(PR #347)
and PR
#367).
Function extend_boundary
in Numeric extension to perform image boundary extension (PR #386).
Project release notes maintained in Markdown file RELEASES.md (PR
#404).
Changed
Move all tests, core features and extensions, inside test/
directory (PR
#302).
Removed
Replace Boost.MPL with Boost.MP11 (PR
#274).
Removed use of Boost.TypeTraits (PR
#274).
Dropped support for GCC <= 4.8 (PR
#296).
Remove include/boost/gil/version.hpp
file as unused (PR
#403).
Fixed
Undetermined value of default-initialized channel and pixel
objects (PR
#273).
Undefined behaviour due to std::is_trivially_default_constructible
specializations (PR
#284).
Crash when reading PNG files with an invalid header (PR #385).
Applied the Rule of Three for numerous types.
Removed uses of deprecated implicit definition of defaulted
copy assignment operator or copy constructor.
Histogram:
Several new features and performance improvements, some bug-fixes
See the full Release
Notes for a complete list of changes
Log:
Improved compatibility with clang-win compiler.
MPI:
Documentation clarifications.
Fixed scatterv bug when using explicit input buffer offsets.
Enable usage of MPI_Probe and friend with Intel MPI >= 2019.4
Symbol visibility on Windows
Math:
Added Hypergeometric functions 1F0, 0F1, 2F0, 1F1 and pFq.
Added Jacobi polynomial (and derivatives) evaluation.
Added Gegenbauer polynomial (and derivatives) evaluation.
Added Cardinal B-Splines (and derivatives) as polynomial functions
in their own right.
Added Cardinal Trigonometric Interpolation.
Added new statistics sub-section.
Added One Sample Student's T Test.
Added Anderson Darling test for normality.
Added Ljung Box test for auto-correlation.
Added Runs test for random sequences.
The headers boost/math/tools/univariate_statistics.hpp
and boost/math/tools/bivariate_statistics.hpp, have been deprecated in favor
of boost/math/statistics/univariate_statistics.hpp and boost/math/statistics/bivariate_statistics.hpp.
Added The Empirical CDF distribution.
Reworked the Sterling approximation used by multiprecision gamma
functions to be applicable to all the function that use the Lanczos
approximation at regular precision. Also extended Lanczos approximations
up to 100 decimal digit precision.
Multiprecision:
Big constexpr update
allows cpp_int and float128 arithmetic to be fully constexpr with gcc and clang 9 or
later, or any compiler supporting std::is_constant_evaluated().
Fix bug in variable precision mpf_float which causes it to go into
a tailspin trying to select the correct precision - see https://github.com/boostorg/multiprecision/issues/164.
Outcome:
Enhancements:
Standalone outcome is now make
install-able, and
cmake find_package() can find it. Note that you
must separately install and find_package() Outcome's dependency, quickcpplib,
else find_package() of Outcome will fail.
The git submodule mechanism used by standalone Outcome of specifying
dependent libraries has been replaced with a cmake superbuild
of dependencies mechanism instead. Upon cmake configure, an
internal copy of quickcpplib will be git cloned, built and
installed into the build directory from where an internal
find_package() uses it. This breaks the
use of the unconfigured Outcome repo as an implementation of
Outcome, one must now do one of: 1. Add Outcome as subdirectory
to cmake build. 2. Use cmake superbuild (i.e. ExternalProject_Add())
to build and install Outcome into a local installation. 3.
Use one of the single header editions.
For standalone Outcome, the current compiler is now checked
for whether it will compile code containing C++ Concepts, and
if it does, all cmake consumers of Outcome will enable C++
Concepts. Set the cmake variable CXX_CONCEPTS_FLAGS
to an empty string to prevent auto detection and enabling of
C++ Concepts support occurring.
OUTCOME_TRY
operation now hints to the compiler that operation will be
successful. [P1886 Error speed benchmarking](https://wg21.link/P1886)
showed that there is considerable gain in very small functions
by hinting to the compiler whether the expression is expected
to be successful or not. OUTCOME_TRY
previously did not hint to the compiler at all, but now it
does. A new suite of macros OUTCOME_TRY_FAILURE_LIKELY
hint to the compiler that failure is expected. If you wish
to return to the previously unhinted behaviour, define OUTCOME_TRY_LIKELY(expr)
to (!!expr).
#199
Support for C++ Coroutines has been added. This comes in two
parts, firstly there is now an OUTCOME_CO_TRY() operation suitable for performing
the TRY operation
from within a C++ Coroutine. Secondly, in the header outcome/coroutine_support.hpp there are implementations
of eager<OutcomeType>
and lazy<OutcomeType>
which let you more naturally and efficiently use basic_result or basic_outcome from within
C++ Coroutines -- specifically, if the result or outcome will
construct from an exception pointer, exceptions thrown in the
coroutine return an errored or excepted result with the thrown
exception instead of throwing the exception through the coroutine
machinery (which in current compilers, has a high likelihood
of blowing up the program). Both eager<T> and lazy<T> can accept any T as well. Both have been
tested and found working on VS2019 and clang 9.
#210
make_error_code() and make_exception_ptr() are now additionally considered
for compatible copy and move conversions for basic_result<>.
This lets you construct a basic_result<T, E> into a basic_result<T, error_code>, where E
is a custom type which has implemented the ADL discovered free
function error_code
make_error_code(E),
but is otherwise unrelated to error_code.
The same availability applies for exception_ptr
with make_exception_ptr() being the ADL discovered
free function. basic_outcome<> has less support for
this than basic_result<> in order to keep constructor
count down, but it will accept via this mechanism conversions
from basic_result<> and failure_type<>.
Bug fixes:
#184
The detection of [[nodiscard]]
support in the compiler was very mildly broken.
PolyCollection:
Maintenance work.
Preprocessor:
Topic added which discusses emptiness
Support for the C++20 __VA_OPT__
construct
BOOST_PP_VARIADIC_HAS_OPT
whether __VA_OPT__
is supported at the C++20 level
BOOST_PP_CHECK_EMPTY
test for emptiness using __VA_OPT__
at the C++20 level
BOOST_PP_VA_OPT
more flexible alternative to __VA_OPT__
at the C++20 level
Smart Pointers:
Implemented allocate_unique
for scalars and arrays. (Glen Fernandes)
Test:
Boost.test v3.12 see the Changes
log for more details.
New feature:
Support for C++17 std::string_view
has been added.
Better diagnostic on boost::exception
and no rtti mode (thanks to Mikhail Pilin / [pull_request 234])
Bug fixes and pull requests:
GitHub Issues: #206, #217, #223, #229
GitHub Pull Requests: PR#227, PR#231, PR#232,
PR#234
VMD:
BOOST_VMD_IS_EMPTY
updated to use __VA_OPT__
at the C++20 level has 100% reliability
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow and Michael Caisse managed this release.
[Less]
|
Posted
over 4 years
ago
Known Issues
These are patches from library authors which were found too late to be fixed
in the release. Be careful as they have not been through the normal testing
process.
Revert
... [More]
cease dependence on range
Coroutine
patch
Updated Libraries
Asio:
Changed the async_initiate
helper function to automatically deduce its return type, for C++11
or later.
Changed all asynchronous operations to use automatically deduced
return types, for C++14 or later.
Introduced concepts to support async_initiate.
Added the nested template type rebind_executor
to all I/O object types.
Changed the initiation function objects to report their associated
I/O executor via the nested type executor_type
and member function get_executor().
Added the default_completion_token
trait, giving I/O executor types an associated default completion
token type for use with asynchronous operations. This trait is specialised
for the use_awaitable
completion token, for example, to allow asynchronous operations to
be used as follows: co_await
socket.async_connect(my_endpoint).
Added missing async_initiate
to the Windows-specific I/O objects' asynchronous operations.
Ensured that the executor type is propagated to newly accepted sockets.
Changed to require that Protocol
copy and move operations never throw.
Changed to require that Endpoint
default constructor and move operations never throw.
Added the noexcept qualifier
to protocol accessors.
Added the noexcept qualifier
to socket move constructors.
Fixed issues associated with opening serial ports on Windows:
Use the correct constant to initialise the RTS control flag.
Specify a default baud rate (9600).
Fixed a lost "outstanding work count" that can occur when
an asynchronous accept operation is automatically restarted.
Consult the Revision
History for further details.
Atomic:
Added a workaround for __float128
not being considered as a floating point type by some versions of
libstdc++.
Improved compatibility with clang-win compiler.
Beast:
This is a maintenance update containing bug fixes, and updates to
use the new features delivered in Boost.Asio.
We'd love to know how you or your company use Beast, consider adding
an entry to the Companies
and Individuals Using Beast list.
See the full Release
Notes for a complete list of changes.
Circular Buffer:
Fix issue #29: max_size() now takes the allocator's max_size()
into account. (Glen Fernandes)
Context:
architecture s390x supported
execution_context removed
Endian:
Made endian_reverse,
conditional_reverse
and *_to_* constexpr
on GCC and Clang
Added convenience load and store functions
Added floating point convenience typedefs
Added a non-const overload of data(); changed its return type to unsigned char*
Added __int128 support
to endian_reverse
when available
Added a convenience header boost/endian.hpp
Filesystem:
Extracted filesystem_error
to exception.hpp; file_status
and associated enums and functions to file_status.hpp;
directory_entry,
directory_iterator
and recursive_directory_iterator
to directory.hpp.
Deprecated: For backward compatibility
operations.hpp still includes the new headers
exception.hpp, file_status.hpp
and directory.hpp, unless BOOST_FILESYSTEM_NO_DEPRECATED
macro is defined. These implicit includes are considered deprecated
and will be removed in a future release. Users are encouraged to
include the new headers directly or include filesystem.hpp.
The filesystem_error
exception is now implemented in the compiled library of Boost.Filesystem.
Users may need to add linking with Boost.Filesystem library in their
projects.
On POSIX.1-2008 platforms, use utimensat
instead of utime.
utime is declared
obsolete in POSIX.1-2008 and can be disabled e.g. in uClibc-ng. (PR#115)
directory_iterator
is now left in the end state on memory allocation errors.
In directory_iterator
on POSIX systems, support for readdir/readdir_r has been reworked to
avoid memory allocations for dirent
structures when readdir
is used. This reduces memory consumption and eliminates the possibility
of buffer overruns in case if readdir
produces a very long directory name.
On Windows, use Boost.WinAPI to select the target Windows version.
New: Added directory_options
enum, which reflects the same named enum from C++20. The enum is
supported in directory_iterator
and recursive_directory_iterator
to customize iteration behavior. In particular, the iterators now
support skipping directories that can't be opened due to insufficient
permissions. The symlink_option
enum is now deprecated and should be replaced with directory_options.
By default, recursive_directory_iterator
is now reset to the end state in case of errors, as required by C++20.
(#112)
New: Added directory_options::pop_on_error
option, which configures recursive_directory_iterator
so that it attempts to recover from iteration errors by repeatedly
invoking pop()
until it succeeds or the end state is reached. (#113)
New: Added directory_options::skip_dangling_symlinks
option, which configures recursive_directory_iterator
so that it doesn't follow dangling directory symlinks and continues
iteration instead of reporting an error.
Deprecated: The following members
of recursive_directory_iterator
are now marked as deprecated: level(), no_push_pending(), no_push_request(), no_push(). Users are advised to replace their
use with the standard counterparts: depth(), recursion_pending(), disable_recursion_pending(). Note that recursion_pending() has the opposite meaning compared
to no_push_pending() and no_push_request(). Deprecated methods will be removed
in a future release.
Fixed path::lexically_relative (and any dependent
algorithms) to correctly handle empty, dot and dot-dot path elements
in its argument. The behavior is made closer to C++17 std::path::lexically_relative in that empty
and dot path elements are ignored and dot-dot path elements are accounted
by decreasing the number of dot-dot path elements to generate in
the resulting relative path. (#76)
Functional/Factory:
Glen Fernandes rewrote the implementations of factory
and value_factory
to provide the following features:
Support r-value arguments when possible
Support arbitrary number of arguments via variadic templates
when possible
Support allocators that are final
Support allocators that use fancy pointers
Support for disabled exceptions (BOOST_NO_EXCEPTIONS)
Improved compilation times
The following features have been removed:
Increasing limits for C++03 compilers through BOOST_FUNCTIONAL_VALUE_FACTORY_MAX_ARITY
Using boost::none_t
in place of void
through BOOST_FUNCTIONAL_FACTORY_SUPPORT_NONE_T
GIL:
Added
GSoC 2019: Lanczos resampling for image down scaling (PR#309).
GSoC 2019: Methods for binary thresholding, inverted binary
thresholding and truncation thresholding (PR#313).
GSoC 2019: Otsu thresholding method (PR#314).
GSoC 2019: Adaptive thresholding using mean or gaussian-weighted
sum of the neighbourhood area (PR#315).
GSoC 2019: Harris response calculation (corner detector without
non-maximum filtering) (PR#350).
GSoC 2019: Hessian corner detector (PR#364).
GSoC 2019: Types for defining 2D kernel, kernel_2d
and kernel_2d_fixed,
in Numeric extension (PR#361).
GSoC 2019: Implementation of 2D convolution as new function
convolve_2d
(PR#367).
GSoC 2019: Box filtering using the average filter (PR#383).
GSoC 2019: Blur function based on normalized mean filter (PR#383).
GSoC 2019: Sobel and Scharr operators (PR#392).
GSoC 2019: Median filter to remove noise from image (PR#393).
Continued adding new test cases and significantly improved
overall test coverage.
Documented purpose of cached_location_t
(PR#287).
Function convolve_1d
in Numeric extension for convenient use of convolve_rows
and convolve_cols
(PR#347) and PR#367).
Function extend_boundary
in Numeric extension to perform image boundary extension (PR#386).
Project release notes maintained in Markdown file RELEASES.md (PR#404).
Changed
Move all tests, core features and extensions, inside test/
directory (PR#302).
Removed
Replace Boost.MPL with Boost.MP11 (PR#274).
Removed use of Boost.TypeTraits (PR#274).
Dropped support for GCC <= 4.8 (PR#296).
Remove include/boost/gil/version.hpp
file as unused (PR#403).
Fixed
Undetermined value of default-initialized channel and pixel
objects (PR#273).
Undefined behaviour due to std::is_trivially_default_constructible
specializations (PR#284).
Crash when reading PNG files with an invalid header (PR#385).
Applied the Rule of Three for numerous types.
Removed uses of deprecated implicit definition of defaulted
copy assignment operator or copy constructor.
Histogram:
Several new features and performance improvements, some bug-fixes
See the full Release
Notes for a complete list of changes
Log:
Improved compatibility with clang-win compiler.
MPI:
Documentation clarifications.
Fixed scatterv bug when using explicit input buffer offsets.
Enable usage of MPI_Probe and friend with Intel MPI >= 2019.4
Symbol visibility on Windows
Math:
Added Hypergeometric functions 1F0, 0F1, 2F0, 1F1 and pFq.
Added Jacobi polynomial (and derivatives) evaluation.
Added Gegenbauer polynomial (and derivatives) evaluation.
Added Cardinal B-Splines (and derivatives) as polynomial functions
in their own right.
Added Cardinal Trigonometric Interpolation.
Added new statistics sub-section.
Added One Sample Student's T Test.
Added Anderson Darling test for normality.
Added Ljung Box test for auto-correlation.
Added Runs test for random sequences.
The headers boost/math/tools/univariate_statistics.hpp
and boost/math/tools/bivariate_statistics.hpp, have been deprecated in favor
of boost/math/statistics/univariate_statistics.hpp and boost/math/statistics/bivariate_statistics.hpp.
Added The Empirical CDF distribution.
Reworked the Sterling approximation used by multiprecision gamma
functions to be applicable to all the function that use the Lanczos
approximation at regular precision. Also extended Lanczos approximations
up to 100 decimal digit precision.
Multiprecision:
Big constexpr update
allows cpp_int and float128 arithmetic to be fully constexpr with gcc and clang 9 or
later, or any compiler supporting std::is_constant_evaluated().
Fix bug in variable precision mpf_float which causes it to go into
a tailspin trying to select the correct precision - see https://github.com/boostorg/multiprecision/issues/164.
Outcome:
Enhancements:
Standalone outcome is now make
install-able, and
cmake find_package() can find it. Note that you
must separately install and find_package() Outcome's dependency, quickcpplib,
else find_package() of Outcome will fail.
The git submodule mechanism used by standalone Outcome of specifying
dependent libraries has been replaced with a cmake superbuild
of dependencies mechanism instead. Upon cmake configure, an
internal copy of quickcpplib will be git cloned, built and
installed into the build directory from where an internal
find_package() uses it. This breaks the
use of the unconfigured Outcome repo as an implementation of
Outcome, one must now do one of: 1. Add Outcome as subdirectory
to cmake build. 2. Use cmake superbuild (i.e. ExternalProject_Add())
to build and install Outcome into a local installation. 3.
Use one of the single header editions.
For standalone Outcome, the current compiler is now checked
for whether it will compile code containing C++ Concepts, and
if it does, all cmake consumers of Outcome will enable C++
Concepts. Set the cmake variable CXX_CONCEPTS_FLAGS
to an empty string to prevent auto detection and enabling of
C++ Concepts support occurring.
OUTCOME_TRY
operation now hints to the compiler that operation will be
successful. P1886 Error speed benchmarking showed
that there is considerable gain in very small functions by
hinting to the compiler whether the expression is expected
to be successful or not. OUTCOME_TRY
previously did not hint to the compiler at all, but now it
does. A new suite of macros OUTCOME_TRY_FAILURE_LIKELY
hint to the compiler that failure is expected. If you wish
to return to the previously unhinted behaviour, define OUTCOME_TRY_LIKELY(expr)
to (!!expr).
#199
Support for C++ Coroutines has been added. This comes in two
parts, firstly there is now an OUTCOME_CO_TRY() operation suitable for performing
the TRY operation
from within a C++ Coroutine. Secondly, in the header outcome/coroutine_support.hpp there are implementations
of eager<OutcomeType>
and lazy<OutcomeType>
which let you more naturally and efficiently use basic_result or basic_outcome from within
C++ Coroutines -- specifically, if the result or outcome will
construct from an exception pointer, exceptions thrown in the
coroutine return an errored or excepted result with the thrown
exception instead of throwing the exception through the coroutine
machinery (which in current compilers, has a high likelihood
of blowing up the program). Both eager<T> and lazy<T> can accept any T as well. Both have been
tested and found working on VS2019 and clang 9.
#210
make_error_code() and make_exception_ptr() are now additionally considered
for compatible copy and move conversions for basic_result<>.
This lets you construct a basic_result<T, E> into a basic_result<T, error_code>, where E
is a custom type which has implemented the ADL discovered free
function error_code
make_error_code(E),
but is otherwise unrelated to error_code.
The same availability applies for exception_ptr
with make_exception_ptr() being the ADL discovered
free function. basic_outcome<> has less support for
this than basic_result<> in order to keep constructor
count down, but it will accept via this mechanism conversions
from basic_result<> and failure_type<>.
Bug fixes:
#184
The detection of [[nodiscard]]
support in the compiler was very mildly broken.
PolyCollection:
Maintenance work.
Preprocessor:
Topic added which discusses emptiness
Support for the C++20 __VA_OPT__
construct
BOOST_PP_VARIADIC_HAS_OPT
whether __VA_OPT__
is supported at the C++20 level
BOOST_PP_CHECK_EMPTY
test for emptiness using __VA_OPT__
at the C++20 level
BOOST_PP_VA_OPT
more flexible alternative to __VA_OPT__
at the C++20 level
Smart Pointers:
Implemented allocate_unique
for scalars and arrays. (Glen Fernandes)
Test:
Boost.test v3.12 see the Changes
log for more details.
New feature:
Support for C++17 std::string_view
has been added.
Better diagnostic on boost::exception
and no rtti mode (thanks to Mikhail Pilin / [pull_request 234])
Bug fixes and pull requests:
GitHub Issues: #206, #217, #223, #229
GitHub Pull Requests: PR#227, PR#231, PR#232,
PR#234
VMD:
BOOST_VMD_IS_EMPTY
updated to use __VA_OPT__
at the C++20 level has 100% reliability
Compilers Tested
Boost's primary test compilers are:
Linux:
Clang: 3.0, 4.0.1, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Boost's additional test compilers include:
Linux:
Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1
Clang, C++0x: 3.0
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
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
Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0
GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1
GCC, C++0x: 4.4.7
GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1
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
GCC, C++17: 7.3.0, 8.0.1
Intel, C++14: 18.0
OS X:
Apple Clang: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0
Apple Clang, C++17: 9.1.0, 10.0.0
Apple Clang, C++1z: 9.0.0
Apple Clang, C++2a: 10.0.0
Windows:
GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4
GCC, C++0x: 4.6.4
GCC, C++11: 4.7.3, 4.8.1, 4.9.3
GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0
GCC, C++17: 7.1.0, 7.2.0, 7.3.0
Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1
FreeBSD:
Clang: 4.0.0
Clang, C++11: 4.0.0
Clang, C++14: 4.0.0
Clang, C++1z: 4.0.0
Acknowledgements
Marshall Clow and Michael Caisse managed this release.
[Less]
|