Up to [cvs.NetBSD.org] / pkgsrc / devel / boost-headers
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
boost: updated to 1.91.0 1.91.0 General Notes StaticAssert has been merged into Config. This includes code, tests and documentation. For backward compatibility git submodule, CMake and b2 targets of StaticAssert are still available; the targets simply introduce a dependency on Config. Eventually, the submodule and targets will be removed. Users are recommended to update their dependencies on StaticAssert to replace it with Config. No C++ code modifications are necessary. Most Boost libraries have been updated accordingly. Read more https://www.boost.org/releases/latest/
boost-headers: fix MSG_NOSIGNAL handling on NetBSD From RVP on current-users. Bump PKGREVISION.
boost-headers: add lib to INSTALLATION_DIRS
boost-headers: install cmake files for these headers. From Anthony Mallet. CONFLICT with boost-libs from which they were moved. Bump PKGREVISION.
boost: updated to 1.90.0 1.90.0 New Libraries OpenMethod: * Open-(multi-)methods in C++17 and above, from Jean-Louis Leroy. https://www.boost.org/releases/latest/
boost-headers: fix a bug in the dll module Fixes the build of uhd. Bump PKGREVISION.
boost: updated to 1.89.0 1.89.0 New Libraries Bloom: filters, from Joaquín M López Muñoz. https://www.boost.org/releases/latest/
boost-headers: improve previous, from upstream Bump PKGREVISION again.
boost-headers: fix regression in 1.87 using upstream patch Fixes build of simgear
boost-headers: pull upstream fix Fixes: "operator<< template incompatible with non-char ostreams since 1.87.0" Bump PKGREVISION.
devel/boost-headers: Adjust for 1.86.0
devel/boost-headers: Fix no quadmath case under NetBSD Bump PKGREVISION.
boost: Update to 1.78.0
Changelog:
Version 1.78.0
Known Issues
These are patches from library authors which were found too late to be fixed in
the release.
* Boost.Build silently skips installation of library headers and binaries in
some cases, see #104.
+ Fixed in PR#113, patch.
* Boost.Atomic fails to build when targeting UWP, see #54. Patch.
New Libraries
* No new libraries.
Updated Libraries
* Asio:
+ Added an io_uring backend that may optionally be used for all I/O
objects, including sockets, timers, and posix descriptors.
+ Added support for files, with new new classes for stream-oriented and
random-access files. This feature currently supports I/O completion
ports on Windows, and io_uring on Linux.
+ Added support for portable pipes on POSIX and Windows (when I/O
completion ports are available).
+ Added support for registered buffers, which are optimised when using
the io_uring backend.
+ Added experimental support for channels, that may be used to send and
queue completions as messages.
+ Implemented improvements to experimental::coro.
+ Disabled aligned_alloc on clang when using an MSVC runtime.
+ Changed to use a faster implementation for ip::network_v4::canonical().
+ Added template specialisations for common uses to improve compile time.
+ Reduced the size of io_context executors to a single pointer.
+ Increased the small object buffer size for execution::any_executor and
any_io_executor.
+ Fixed multi-signature handling when variadic templates are disabled.
+ Fixed compatibility with new versions of gcc and clang.
+ Fixed compilation on Solaris.
+ Fixed defence against Qt-defined macros when building with MSVC.
+ Improved error messages emitted by ssl facilities.
+ Fixed bind_executor compatibility with completion tokens.
+ Fixed build errors when BOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT is
defined.
+ Added missing move assignment operator to awaitable<>.
+ Fixed an access violation when using coroutines with MSVC, due to
incorrect alignment of allocated memory.
+ Fixed a cleanup issue in experimental::parallel_group that occured when
the execution context was shut down with parallel operations still
pending.
+ Added clarifications to the documentation on concurrency hints.
+ Added documentation on error handling techniques for C++20 coroutines.
+ Fixed various warnings.
+ Consult the Revision History for further details.
* Assert:
+ Added source_location::to_string.
* Atomic:
+ Use process-local futex operations on Android for non-IPC waiting and
notifying operations.
+ Added support for Linux targets that only define SYS_futex_time64
syscall, such as riscv32.
+ Added a workaround for incorrect result of std::alignment_of on clang 8
for 64-bit types on 32-bit x86 targets.
+ Added a ulock backend for waiting and notifying operations on Darwin
systems since Mac OS 10.12, iOS 10.0, tvOS 10.0 or watchOS 3.0.
+ On Windows, corrected discrepancy between atomic-type
::always_has_native_wait_notify and the corresponding capability macros
when targeting Windows 8 or later. The library will now directly use
WaitOnAddress and related APIs from public headers and therefore
require user to link with synchronization.lib if the user requires
Windows 8 or later by defining BOOST_USE_WINAPI_VERSION, _WIN32_WINNT
or similar macros. The library is linked automatically on compilers
that support auto-linking (e.g. MSVC).
+ Added support for types with padding bits, except unions, on compilers
that provide a way to clear the padding bits. This feature is supported
by gcc 11 and MSVC 14.2 (compiler version 19.27) and newer, as well as
other compilers supporting similar intrinsics. On compilers that don't
allow to clear the padding bits, types with padding are still generally
not supported with the exception of 80-bit long double on x86 targets.
A new BOOST_ATOMIC_NO_CLEAR_PADDING capability macro is defined to
indicate when clearing the padding is not supported.
+ Initializing constructors of atomic_ref and ipc_atomic_ref no longer
use atomic instructions to clear the padding bits in the referenced
object. This reduces the cost of the atomic reference construction.
+ Initializing constructors of atomic and ipc_atomic are now constexpr
for enums, classes and floating point types. For classes and floating
point types, the constructors are constexpr if the compiler supports
constexpr std::bit_cast, the type has no padding bytes and no padding
is required to implement native atomic operations.
+ In accordance with C++20, default constructors of atomic and ipc_atomic
now perform value initialization of the contained object. For types
without a user-defined default constructor, this means the
default-constructed atomic will be zero-initialized.
+ Added a workaround for compilation error on AIX caused by the assembler
tool not supporting numeric labels. (PR#50)
+ Added a workaround for compilation error with Visual Studio 2015 prior
to Update 3. (#52)
+ See changelog for more details.
* Beast:
+ This maintenance update brings minor bug fixes and updated CI
reporting.
+ Fixed security vulnerability CVE-2016-9840 in zlib implementation.
+ Fixed WebSocket permessage_deflate implementation. This should result
in an increase in compression performance when using Beast WebSockets.
+ Removed the test stream and test framework's dependency on RTTI. You
can now use our handy test stream to check your embedded asynchronous
communications code!
+ 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.
* Core:
+ Added a generic implementation to <boost/core/cmath.hpp>, enabled when
BOOST_CORE_USE_GENERIC_CMATH is defined or when the platform does not
provide the necessary facilities in <cmath>.
+ Added boost::core::type_name, a utility function that returns the name
of a type as a string.
+ Added boost::span, a C++11 implementation of C++20's std::span (Glen
Fernandes).
* Describe:
+ Added has_describe_enumerators, has_describe_bases,
has_describe_members.
+ Added enum_to_string, enum_from_string.
+ Added relational and stream insertion operators.
+ Added descriptor_by_name, descriptor_by_pointer.
* DLL:
+ Fixed missing #include, thanks to Denis Blank (PR#54)
+ Dropped TravisCI in favor of GithubAction CI
* Filesystem:
+ v4: path::filename and path::iterator no longer return an implicit
trailing dot (".") element if the path ends with a directory separator.
Instead, an empty path is returned, similar to C++17 std::filesystem.
This also affects other methods that are defined in terms of iterators
or filename, such as path::stem, path::compare or
lexicographical_compare. For example, path("a/b/") == path("a/b/.") no
longer holds true. (#193)
+ v4: path::lexically_normal no longer produce a trailing dot (".")
element and omits a directory separator after a trailing dot-dot ("..")
element in the normalized paths.
+ v4: path append operations now consider root name and root directory in
the appended path. If the appended path is absolute, or root name is
present and differs from the source path, the resulting path is
equivalent to the appended path. If root directory is present, the
result is the root directory and relative path rebased on top of the
root name of the source path. Otherwise, the behavior is similar to v3.
(#214)
+ path::lexically_normal now converts directory separators to preferred
separators in the root name of the normalized paths.
+ Optimized overloads of path::assign, path::append, path::concat and the
corresponding operators to avoid unnecessary path copying and reduce
the amount of code redundancy.
+ On POSIX systems, fixed absolute(p, base) returning a path with root
name base.root_name() if p starts with a root directory. In such a case
p is already an absolute path and should be returned as is.
+ create_directories no longer reports an error if the input path
consists entirely of dot (".") and dot-dot ("..") elements. The
implementation is no longer using recursion internally and therefore is
better protected from stack overflow on extremely long paths.
+ On Windows, remove now supports deleting read-only files. The operation
will attempt to reset the read-only attribute prior to removal. Note
that this introduces a possibility of the read-only attribute being
left unset, if the operation fails and the original value of the
attribute fails to be restored. This also affects remove_all. (#216)
+ remove_all now returns static_cast< uintmax_t >(-1) in case of error,
similar to C++17 std::filesystem.
+ Fixed a linking error about unresolved references to
Boost.ContainerHash functions when user's code includes boost/
filesystem/path.hpp but not boost/container_hash/hash.hpp and the
compiler is set to preserve unused inline functions. (#215)
+ Added a workaround for MSVC and compatible compilers eliminating path
globals cleanup in release builds. This could lead to a memory leak if
Boost.Filesystem shared library was repeatedly loaded and unloaded in
the process. (#217)
* Geometry:
+ Improvements
o PR#894 Optimization and refactoring of rtree queries.
o PR#913 DynamicGeometry and GeometryCollection support in various
algorithms (undocumented for now).
o PR#922 DynamicGeometry and GeometryCollection support in distance
(undocumented for now).
+ Solved issues
o #867 Poor performance of rtree query iterator with nearest
predicate for big k.
o #870 Compilation error in boost::geometry::self_turns.
o #896 Assertion failure in get_turns with
BOOST_GEOMETRY_NO_ROBUSTNESS.
+ Bugfixes
o PR#906 Invalid result of buffer on macos-11 with clang-12.
o PR#921 Compilation errors with c++20 (various compilers) and gcc-5.
o Various fixes in set operations and buffer.
* JSON:
+ Standalone mode of the library is deprecated.
+ Allow external libraries to forward declare value_to and value_from.
+ Fixed signed integer overflow in number parsing.
+ Add support for /Zc:implicitNoexcept- on MSVC.
* Lambda2:
+ Added special cases in operator<< and operator>> when the first
argument is a stream, to allow std::cout << _1.
+ Added operator->*.
+ Added first, second.
* Log:
+ General changes:
o Updated detection of std::codecvt specializations for char16_t and
char32_t for compatibility with C++17 and later. (PR#159)
o Added support for C++17 std::byte type to receive methods of the
inter-process message queue.
o On Windows, when building the library for Windows 8 or later, the
library will use nt62 tag in the version namespace to denote the
target OS ABI. For example, the version namespace could be named as
v2_mt_nt62. This name will be part of all symbols exported by the
library. Use the BOOST_USE_WINAPI_VERSION macro consistenly when
building Boost and your code to request the minimum target Windows
version.
o Improved performance of SSSE3 and AVX2 implementations of the dump
stream manipulator.
o Added support for CMake build system. Only library build is
supported at this moment, Boost.Build is still used for running
tests.
+ Bug fixes:
o Fixed a race condition on POSIX systems in reliable_message_queue::
open_or_create or the equivalent constructor. Multiple threads or
processes calling open_or_create concurrently with sending or
receiving messages from the same queue could end up corrupting the
queue contents and potentially crashing the process. (#162)
o Added a workaround for b2 install failing on Windows because of
missing boost_log_setup library if
BOOST_LOG_WITHOUT_SETTINGS_PARSERS is defined. (#164)
+ See changelog for more details.
* Math:
+ Add support for cubic roots.
+ Add support for constexpr versions of various standard library math
routines.
+ Add support for Bezier polynomials.
+ Improve worst-case tanh-sinh integration performance.
+ Disable inadvertant use of integral types in integration routines.
+ Minor update for erf approximations when the result is with 2ulp of 1.
+ Allow Bernoulli code to be used on platforms with no atomic integers.
+ Improve the mode of the non-central Chi Squared distribution.
+ Improve certain edge cases for <cstdfloat> complex-valued elementary
functions, see #507.
* Multi-index Containers:
+ Added contains to key-based indices (issue #35).
+ Added merge operations to key-based indices. The functionality goes
beyond the standard specification for (unordered) associative
containers in a number of ways, most notably:
o The source index can be of any type, including non key-based
indices.
o Partial merge is provided: for instance, x.merge(y,first,last)
merges only the elements of y within [first,last).
+ Previous versions of splice for sequenced and random access indices
were destructive, i.e. elements were copy-inserted into the destination
and then erased from the source. Now, splice is based on node transfer
much as merge in key-based indices, and has been similarly extended to
accept source indices of any type: in fact, splice can be regarded as a
frontend to the same functionality provided by merge in key-based
indices. For reasons of backwards compatibility, the destructive
behavior of splice has been retained in the case that the source and
destination containers have unequal allocators.
+ The fact has been documented that index iterator types do only depend
on node_type and the position of the index in its multi_index_container
, (except for hashed indices, where uniqueness/non-uniqueness is also a
dependency). This has implications on the validity of iterators to
elements transferred by merge or splice. This property is a variant of
what has been called SCARY iterators in the C++ standard mailing lists.
SCARYness is currently (August 2021) not mandated for standard
containers.
+ Iterator SCARYness is now also preserved in safe mode.
* Multiprecision:
+ Rework rational_adaptor to remove dependency on Boost.Rational and
improve performance.
+ Fix issue with type_traits and clang, see #383.
+ Fixed buggy Lehmer's GCD routine, see #370.
+ Fix mpc_complex constructors so that lossy conversions are explicit,
see #363.
+ Correct miscellaneous configuration issues (Intel intrinsic usage and
Apple clang).
+ Correct some iostream operators for unsigned char types.
+ Correct mpq_rational conversions to integer types, see #342.
* PFR:
+ Added missing #include <memory> for inclusion of std::addressof
+ Fixed -Wzero-length-array warning when dealing with empty aggregates
+ Fixed compilation on msvc compilers <= 1920 (thanks to Alexey Romanov
aka @alexey-romanov)
+ Added basic CMakeLists.txt support (thanks to @pdimov aka Peter Dimov)
+ Multiple improvements for docs, including links to https://github.com/
apolukhin/pfr_non_boost
+ Added misc/strip_boost_namespace.sh script to remove boost:: and BOOST_
prefixes
* Predef:
+ Version 1.13.1
+ Fix spelling of "epoch".
+ Add missing parenthesis in sparc.h (from tkoecker).
+ Update documentation to use Rouge code styling and Amber general style.
* Regex:
+ Breaking Change: Change \B to be the opposite of \b as per Perl
behaviour.
+ Change w32_regex_traits.hpp so that windows.h is no longer included.
+ Fxed fuzzing related issues #151, #152, #153, #156.
* System:
+ Added support for source locations to error_code.
+ Added error_code::to_string, error_condition::to_string, error_code::
what.
+ system_error::what() now contains the source location, if present.
+ Added result<T, E = error_code>, a class holding either a value or an
error, defined in <boost/system/result.hpp>.
* Utility:
+ Library documentation converted to QuickBook (thanks to Alan de
Freitas, PR#79).
* Variant2:
+ Added <boost/variant2.hpp>.
+ Added unsafe_get<I>.
+ Added visit_by_index.
+ Added operator<<.
Updated Tools
* Build:
+ Includes release of B2 version 4.7.2.
boost-headers: remove type check for long double to fix py-scipy build; bump revision
boost: Update to 1.75.0
Changelog:
1.75.0
New Libraries
* JSON: JSON parsing, serialization, and DOM in C++11, from Vinnie Falco and
Krystian Stasiowski.
+ Fast compilation requiring only C++11
+ Easy and safe modern API with allocator support
+ Compile without Boost, define BOOST_JSON_STANDALONE
+ Optional header-only, without linking to a library
* LEAF: A lightweight error-handling library for C++11, from Emil Dotchevski.
+ Small single-header format, no dependencies.
+ Designed for maximum efficiency ("happy" path and "sad" path).
+ No dynamic memory allocations, even with heavy payloads.
+ O(1) transport of arbitrary error types (independent of call stack
depth).
+ Can be used with or without exception handling.
* PFR: Basic reflection without macro or boilerplate code for user defined
types, from Antony Polukhin.
Updated Libraries
* Asio:
+ Enabled support for UNIX domain sockets on Windows.
+ Added executor-converting construction and assignment to ip::
basic_resolver.
+ Added compatibility between polymorphic executors and the (deprecated)
handler invocation hook.
+ Added the experimental::as_single completion token adapter.
+ Added support for MSG_NOSIGNAL on more platforms by using
_POSIX_VERSION to detect whether it is supported.
+ Added the ability to compile using libpthread on Windows.
+ Added workarounds for the Intel C++ compiler.
+ Added more support for detecting and optimising for handlers that have
no custom executor.
+ Reduced lock contention for timer cancellation on Windows.
+ Reinstated a previously removed null-pointer check, as it had a
measurable impact on performance.
+ Fixed the executor concept to test for a const-qualified execute().
+ Fixed any_executor support for builds without RTTI support.
+ Fixed the thread_pool unit test to work without RTTI support.
+ Fixed C++20 coroutines compatibility with clang on Windows.
+ Fixed some compatibility issues with Windows Runtime.
+ Fixed shadow name warnings caused by addition of asio::query.
+ Fixed a "logical ‘or’ of equal expressions" warning on linux.
+ Fixed a benign switch fallthrough warning.
+ Added missing push/pop_options.hpp includes.
+ Suppressed zero-as-null-pointer-constant warnings.
+ Fixed a comma-operator warning.
+ Updated the documentation to clarify when the select reactor is used on
Windows.
+ Fixed potential ambiguity caused by any_executor comparisons and
conversion.
+ Added detection of non-experimental C++20 coroutines on MSVC 19.8.
+ Fixed compatibility with uClibc.
+ Fixed strand<> adaptation of Networking TS executors when targeting
older C++ versions or less conformant compilers.
+ Consult the Revision History for further details.
* Atomic:
+ Implemented SSE2 and SSE4.1 versions of address lookup algorithm, which
is used in the internal lock pool implementation. This may improve
performance of waiting and notifying operations in heavily contended
cases.
+ Fixed a possible compilation error on AArch64 targets caused by
incorrect instructions generated for bitwise (logical) operations with
immediate constants. (#41)
* Beast:
+ This update brings bug fixes and support for the
BOOST_ASIO_ENBALE_HANDLER_TRACKING compile flag from 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.
* Container:
+ New devector container.
+ Fixed bugs/issues:
o #152 Tree-based containers have troubles with move-only types.
o #156 Compile error with vector.
o PR#157 Add missing include.
o #159: pmr::monotonic_buffer_resource crashes on large single
allocations.
o #160: Usage of uses_allocator needs a remove_cvref_t.
o #162: small_vector on MSVC x86 call-by-value crash.
o #161: polymorphic_allocator(memory_resource*) non-standard
extension causes headache.
o PR#163: container_rebind for small_vector with options.
o #165: Link error with shared library and memory_resource inline
members.
o PR#166: Fix encoding error in copyright headers.
o PR#167: error: the address of 'msg' will always evaluate as 'true'
warning with GCC 4.4.
o #169: flood of warnings building dlmalloc_ext_2_8_6.c on clang11.
* Endian:
+ endian_arithmetic no longer inherits from endian_buffer
+ When BOOST_ENDIAN_NO_CTORS is defined, the unaligned endian_buffer and
endian_arithmetic are C++03 PODs, to enable use of __attribute__((
packed))
* Filesystem:
+ New: Added creation_time operation, which allows to obtain file
creation time. (Inspired by PR#134)
+ The returned value of last_write_time(p, ec) operation in case of
failure has been changed to a minimal value representable by std::
time_t instead of -1.
+ The returned value of hard_link_count(p, ec) operation in case of
failure has been changed to static_cast<uintmax_t>(-1) instead of 0.
+ On POSIX systems, file_size will now indicate error code errc::
function_not_supported if the path resolves to a non-regular file.
Previously, errc::operation_not_permitted was reported.
+ On Linux, many operations now use statx system call internally, when
possible, which allows to reduce the amount of information queried from
the filesystem and potentially improve performance. The statx system
call was introduced in Linux kernel 4.11.
+ Removed const-qualification from return types of some path methods.
This could prevent move construction and move assignment at the call
site in some cases. (#160)
+ On OpenBSD 4.4 and newer, use statvfs system call to obtain filesystem
space information. (Inspired by PR#162)
+ On Windows, space now returns with an error if the provided path does
not idendify an existing file. (#167)
* GIL:
+ BREAKING: In next release, we are going to drop support for GCC 5. We
may also change the required minimum C++ version from C++11 to C++14.
* Histogram:
+ This update brings
o Bug-fixes for corner-cases
o Small documentation improvements
o Fixes for new warnings from latest compilers and when compiling
against the C++20 standard
+ See the full Release Notes for a complete list of changes.
* Interprocess:
+ Fixed bugs:
o #127: static assertion failure with boost interprocess 1.74 and
basic_managed_shared_memory.
* Intrusive:
+ Fixed bugs:
o PR#48: MSVC "assignment within conditional" warning fix.
o PR#49: Fix empty control statement warnings.
o #52: Invalid casting in BOOST_INTRUSIVE_BSR_INTRINSIC.
* Log:
+ Bug fixes:
o Corrected the file counter that would be used in text_file_backend
when generating the target file name (based on the pattern set by
set_target_file_name_pattern method) when the log file is rotated.
(#125)
o Replaced a volatile version counter in basic_sink_frontend with an
atomic. (#128)
o In the asynchronous_sink frontend, resolved a possible conflict
between flush and run methods, if run is called from a user's
thread instead of the internal dedicated thread spawned by the
frontend. (#131)
+ See changelog for more details.
* Move:
+ Fixed bugs:
o #30: (void) C-cast is a non-portable way of suppressing compiler
warnings.
* Mp11:
+ Added mp_pairwise_fold (suggested by Barry Revzin)
+ Removed mp_invoke (use mp_invoke_q)
* Optional:
+ boost::none is constexpr-declared.
+ Fixed issue #78.
* Outcome:
+ Announcements:
o After a year and three major Boost releases announcing this
upcoming change, this is the FINAL RELEASE of the v2.1 branch. From
Boost 1.76 onwards, the v2.2 branch becomes the default. This
branch has a number of major breaking changes to Outcome v2.1, see
the documentation for details.
+ Enhancements:
o The ADL discovered event hooks have been replaced with
policy-specified event hooks instead. This is due to brittleness
(where hooks would quietly self-disable if somebody changed
something), compiler bugs (a difference in compiler settings causes
the wrong hooks, or some but not all hooks, to get discovered), and
end user difficulty in using them at all. The policy-specified
event hooks can be told to default to ADL discovered hooks for
backwards compatibility: set OUTCOME_ENABLE_LEGACY_SUPPORT_FOR to
less than 220 to enable emulation.
o Improve configuring OUTCOME_GCC6_CONCEPT_BOOL. Older GCCs had
boolean based concepts syntax, whereas newer GCCs are standards
conforming. However the precise logic of when to use legacy and
conforming syntax was not well understood, which caused Outcome to
fail to compile depending on what options you pass to GCC. The new
logic always uses the legacy syntax if on GCC 8 or older, otherwise
we use conforming syntax if and only if GCC is in C++ 20 mode or
later. This hopefully will resolve the corner case build failures
on GCC.
+ Bug fixes:
o Boost.Outcome should now compile with BOOST_NO_EXCEPTIONS defined.
Thanks to Emil, maintainer of Boost.Exception, making a change for
me, Boost.Outcome should now compile with C++ exceptions globally
disabled. You won't be able to use boost::exception_ptr as it can't
be included if C++ exceptions are globally disabled.
o #236 In the Coroutine support the final_suspend() was not noexcept,
despite being required to be so in the C++ 20 standard. This has
been fixed, but only if your compiler implements noop_coroutine.
Additionally, if noop_coroutine is available, we use the much more
efficient coroutine handle returning variant of await_suspend()
which should significantly improve codegen and context switching
performance.
* Polygon:
+ C++20 fixes for event_comparison_type, vertex_equality_predicate_type,
and voronoi_predicates. (Glen Fernandes)
* Preprocessor:
+ When variadic data is empty in C++20 mode with __VA_OPT__ support the
variadic size has been corrected to be 0. This also means that in this
C++20 mode it is now valid to convert to and from empty arrays and
lists and variadic data. The end-user can read the "C++20 Support For
Variadic Macros" part of the "variadic macros" topic for more
information about empty variadic data in the library.
+ The macro BOOST_PP_IS_STANDARD() has been added for identifying if the
currently used preprocessor is a C++ standard conforming preprocessor.
A number of preprocessors which generally work correctly with the
library but need various internal workarounds, including the currently
default VC++ preprocessor, are not considered C++ standard conforming
preprocessors. However most preprocessors, including among others gcc,
clang, and the new but currently non-default VC++ preprocessor in
VS2019, are C++ standard conforming preprocessors.
+ For C++ standard conforming preprocessors a number of the limits
defined in the config/limits.hpp can now be changed to higher amounts
for a TU. The end-user should read the "limitations" topic to
understand how and which limits can be changed.
+ For C++ standard conforming preprocessors, in order to allow the
maximum number of FOR and WHILE iterations, the beginning 'r' and 'd'
iteration numbers in the user-defined macros start at 1 and not 2, as
it did in previous releases. This could be a breaking change if these
iteration numbers are used in the user-defined macros ( they probably
would not be ), but the change was necessary to fix some arcane bugs
when dealing with numerical/logical operations with maximum numbers as
well to allow the user-defined macros to be called the correct possible
maximum number of times. For non-C++ conforming preprocessors, this
change was not made because those non-conforming C++ preprocessors
generally have limitations which disallow the maximum number of looping
constructs to be run, and it was felt not to introduce a possible
breaking change to those more fragile preprocessors would be better. It
was also felt that besides fixing some arcane preprocessor bugs and
providing the possible maximum number of user-defined macro
invocations, this change could be made because it has never been
documented what the starting 'r' and 'd' iteration numbers actually are
but only that these numbers are incremented for each iteration.
+ The library has been upgraded to assume variadic macro support for any
compiler working with the library. Ostensibly this means that the
library is now a C++11 on up library, yet most of the major compilers,
including gcc, clang, and VC++, also support variadic macros in C++98/
C++03 mode as long as strict compliance to C++98/C++03 is not turned on
when using one of those compilers.
* Rational:
+ Fix Rational operators to not break under new C++20 operator==
rewriting rules. (Glen Fernandes)
* Signals2:
+ Correct C++ allocator model support to fix compilation in C++20
standards mode. (Glen Fernandes)
* System:
+ The platform-specific headers windows_error.hpp, linux_error.hpp, and
cygwin_error.hpp emit deprecation messages and are slated for removal.
+ The old names for generic_category() and system_category() emit
deprecation messages and are slated for removal.
+ error_condition::failed is deprecated and is slated for removal.
operator bool() for error_condition has been reverted to its old
meaning of value() != 0. This is done for compatibility with std::
error_condition as the next release is expected to improve
interoperability with <system_error> even further. Note that this does
not affect error_code::failed, which is still alive and well.
+ The overload of error_condition::message that takes a buffer is
deprecated and is slated for removal, for the same reasons. Note that
this does not affect error_code::message.
* uBLAS:
+ Correct C++ allocator model support to fix compilation in C++20
standards mode. (Glen Fernandes and Conrad Poelman)
* VMD:
+ The VMD number parsing has been upgraded to support the ability for the
end-user to change the number limits in the Preprocessor library.
+ The macro BOOST_VMD_IS_GENERAL_IDENTIFIER has been added to support the
parsing of input that represents a preprocessor token which matches the
VMD identifier syntax, without having to register the identifier as a
specific identifier.
* Wave:
+ Added new C++20 tokens, including the spaceship operator <=>
+ Fixed bugs:
o #94: fix incorrect behavior of __LINE__ and __FILE__ under
rescanning
1.74.0
New Libraries
* STLInterfaces: A library of CRTP bases to ease the writing of STL views,
iterators, and sequence containers, from Zach Laine.
Updated Libraries
* 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.
o 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.
o All I/O objects, asynchronous operations, and utilities will
interoperate with both new proposed standard executors, and with
existing Networking TS executors.
o 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.
o 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:
o 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.
o 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.
o 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
o PR#720 Additional R-tree constructors (thanks to Caian Benedicto).
o Various improvements in buffer, set and relational operations.
+ Solved issues
o #709 memcpy called for object with no trivial copy-assignment.
o #721 Compilation error in bgi::detail::rtree::visitors::insert.
o #727 MSVC warning: conditional expression is constant.
+ Bugfixes
o PR#700 Missing cases for default strategies in distance algorithm.
o PR#738 Longitudes out of range in direct geodesic formulas.
* GIL:
+ Added
o Added new constructor initializing any_image from r-value reference
to any image (PR#486).
o Implemented mechanism to reverse kernel_2d (PR#489).
+ Changed
o 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).
o Use perfect forwarding from apply_operation to visit (PR#491).
+ Removed
o BREAKING: Removed dependency on Boost.Variant
+ Fixed
o Fixed invalid conversion from RGB8 to CMYK32 due to overflow (PR#
470).
o Fixed image constructor from other image (PR#477).
o Fixed error plane_view_t is not a class or namespace name (PR#481).
o Fixed interleaved_view factory using point<std::ptrdiff_t> for
dimension (PR#487).
o Fixed documentation replacing uses MPL with MP11 in tutorial (PR#
494).
o Fixed missing header in numeric/kernel.hpp to make it
self-contained (PR#502).
+ Acknowledgements
o 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:
o 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:
o Move constructors and assignment operators of various components
were marked noexcept.
o Added a new range_manip stream manipulator that can be used for
outputting elements of a range, optionally separated by a
delimiter.
o 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.
o 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:
o 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:
o 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.
o 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.
o 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.
o Concepts now live in OUTCOME_V2_NAMESPACE::concepts namespace.
Previously concepts lived in the convert namespace, now they live
in their own namespace.
o 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.
o 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:
o #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.
o 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)
boost-headers: changed dirfd patch to be platform agnostic
boost-headers: bump revision for new patches
boost: Fix graphics/krita-4.3.0 build
boost: updated to 1.72.0 Version 1.72.0 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: 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. 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. 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. 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. 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. GSoC 2019: Methods for binary thresholding, inverted binary thresholding and truncation thresholding. GSoC 2019: Otsu thresholding method. GSoC 2019: Adaptive thresholding using mean or gaussian-weighted sum of the neighbourhood area. GSoC 2019: Harris response calculation (corner detector without non-maximum filtering). GSoC 2019: Hessian corner detector. GSoC 2019: Types for defining 2D kernel, kernel_2d and kernel_2d_fixed, in Numeric extension. GSoC 2019: Implementation of 2D convolution as new function convolve_2d. GSoC 2019: Box filtering using the average filter. GSoC 2019: Blur function based on normalized mean filter. GSoC 2019: Sobel and Scharr operators. GSoC 2019: Median filter to remove noise from image. Continued adding new test cases and significantly improved overall test coverage. Documented purpose of cached_location_t. Function convolve_1d in Numeric extension for convenient use of convolve_rows and convolve_cols. Function extend_boundary in Numeric extension to perform image boundary extension. Project release notes maintained in Markdown file RELEASES.md. Changed Move all tests, core features and extensions, inside test/ directory. Removed Replace Boost.MPL with Boost.MP11. Removed use of Boost.TypeTraits. Dropped support for GCC <= 4.8. Remove include/boost/gil/version.hpp file as unused. Fixed Undetermined value of default-initialized channel and pixel objects. Undefined behaviour due to std::is_trivially_default_constructible specializations. Crash when reading PNG files with an invalid header. 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). 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. 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: 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]) VMD: BOOST_VMD_IS_EMPTY updated to use __VA_OPT__ at the C++20 level has 100% reliability
Fix devel/boost-libs build under recent NetBSD 9.99 * Follow EV_SET fingerprint change * Bump PKGREVISION of devel/boost-headers
Bump PKGREVISION because the file has been changed.
Fix "include/boost/core/uncaught_exceptions.hpp.orig" missing from PLIST by removing *.orig files at the start of do-install. Remove *.orig from PLIST to match.
Update to 1.70.0
Changelog:
New Libraries
Outcome: A set of tools for reporting and handling function failures in contexts where directly using C++ exception handling is unsuitable, from Niall Douglas.
Histogram: Fast and extensible multi-dimensional histograms with convenient interface for C++14, from Hans Dembinski.
Updated Libraries
Asio:
This release includes a number of new features, bug fixes, performance enhancements, and documentation improvements. Notable changes include:
Added the ability to use custom I/O executors with I/O objects (such as sockets).
Added a new async_result form with an initiate static member function.
Updated the Coroutines TS support and promoted it to the asio namespace.
Added a new DynamicBuffer_v2 concept which is CopyConstructible.
Added a new async_compose function that simplifies the implementation of user-defined asynchronous operations.
Added a make_strand helper function.
Relaxed the completion condition type requirements to only require move-constructibility rather than copy-constructibility.
Added a constructor for local::basic_endpoint that takes a string_view.
Added the noexcept qualifier to various functions.
Added a new BOOST_ASIO_DISABLE_VISIBILITY configuration #define.
Enabled recycling of the memory used to type-erase a function object with the polymorphic executor.
Changed receive operations to return the correct number of bytes transferred when truncation (error::message_size) occurs on a datagram-oriented socket.
Fixed calculation of absolute timeout when the backend uses pthread_cond_timedwait.
Changed the range-based asynchronous connect operation to deduce the EndpointSequence iterator type.
Fixed buffer_sequence_begin and buffer_sequence_end to prevent implicit conversion.
Ensured SSL handshake errors are propagated to the peer before the local operation completes.
Suppressed the eof error on SSL shutdown as it actually indicates success.
Added a fallback error code for when we OpenSSL produces an SSL_ERROR_SYSCALL result without an associated error.
Changed composed asynchronous read and write operations to move buffer sequence objects.
Fixed a macOS-specific warning about the deprecation of OSMemoryBarrier.
Fixed compile errors that occur when using the composed read and write operations with MSVC 11.0.
Improved dispatch, post and defer documentation.
Fixed a Windows-specific memory leak that may occur when system_executor is used.
Consult the Revision History for further details.
Beast: BIG Update!!!
Some APIs have changed.
The reference shows a star ★ next to each new item.
Beast needs your help!
Tell Us how you or your company use Beast
Please report any bugs, feature requests, or general feedback
Join the C++ Slack Workspace for free and chat with us in the #beast and #boost channels
Don't forget to star the repository ⭐!
More tutorials, code like the pros!
Networking Refresher teaches you from the ground up.
Updated Asynchronous Echo example
Updated Detect SSL composed operation tutorial
websocket-chat-multi threaded chat server with a JavaScript browser client
basic_stream and tcp_stream offer:
Timeouts: async_read_some, async_write_some complete with error::timeout on expiration!
Traffic-shaping policies simple and unlimited, or a user-defined RatePolicy!
Put the strand directly on the socket using P1322R0, no more bind_executor at call sites!
Base classes async_base and stable_async_base and handle all composed operation boilerplate for you.
ssl_stream provides a movable, assignable SSL stream with a flat write optimization.
All asynchronous operations use Asio's async_initiate for efficient integration with Coroutines TS.
⚡ faster compilation, define BOOST_BEAST_SEPARATE_COMPILATION and #include <boost/beast/src.hpp> in one of your .cpp files!
See the full Release Notes for a complete list of changes.
Context:
#91: cleanup of stack if creating ucontext fails
#97: add missing BOST_CONTEXT_DECL in stack_context
#98: fix jump_i386_sysv_macho writing garbage to the x87 control word
Coroutine2:
#28: don't crash on pthread_cancel
DLL:
New macro BOOST_DLL_USE_STD_FS. Define it to 1 to make the Boost.DLL use C++17's std::filesystem::path, std::system_error and std::error_code (#21). Note that exception types change from boost::system::system_error to std::system_error, so make sure to update catches.
Significant rewrite of the dynamic loadable detection and decoration logic. More precise errors are now reported in case of loading failures. Added shared_library::decorate() function that returns a decorated path to the library without doing any platform related queries and detections. Prefer using shared_library::load and shared_library constructors for better results (many thanks to Loïc Touraine for the work PR#23).
CI hardening, docs updates, typos fixes, cleanups and mg
#196: fix high contention on remote_ready_splk_
Filesystem:
Fixed a few instances of dereferencing std::string::end() in path implementation.
Fixed program termination in case of out of memory condition in directory iteratorsnce to error_code. (#58)
Fixed possible linking errors caused by missing definitions of static members of path. (#12759)
Fixed possible use of uninitialized data in directory iterator increment operation on Linux.
Added support fortatus query overloads for directory_entry. This avoids a relatively expensive OS query when file status is requested for a result of dereferencing a directory iterator. (PR#55)
Reworked current_path and read_symlink implementation to avoid possiblfilesystems. The functions now have an internal limit of the path size they will accept from the OS, which is currently 16 MiB.
Increased the size of the internal buffer used by copy_file.
Integer:
Added Extended Euclidean Algorithm and Modular Multiplicative Inverse function. (Nick Thompson, PR#11)
Log:
New features:
Added support for generating another log file name before collecting the file in the text file sink backend. This allows to combine appending to aexisting log file with timestamps and file counters in log filenames, and, consequently, file collection in general.
See changelog for more details.
Math:
New features:
Add Lanczos smoothing derivatives
Move numols/ to boost/math/differentiation/finite_difference.hpp.
Add mean, variance, skewness, kurtosis, median, Gini coefficient, and median absolute deviation to tools/univariate_statistics.hpp.
Add correlation coefficients and covariand absolute Gini coefficient, Hoyer sparsity, oracle SNR, and the M[sub 2]M[sub 4] SNR estimator to tools/signal_statistics.hpp.
Add total variation, l0, l1, l2, and sup norms, as well as corresponding distance functions to tools/norms.hpp.
for polynomials, support complex coefficients, add .prime() and .integrate() methods.
Add quadratic_roots to tools/roots.hpp.
Add support for complex-valued functions to Newton's method in roots.hpp.
Add Catmull-Rom inted mp_invoke to mp_invoke_q
Added mp_similar
Added mp_set_union, mp_set_intersection, mp_set_difference
Added mp_not_fn
Added mp_transform_first, mp_transform_second, mp_transform_third
Added mp_filter
Addedp_valid_q
Added mp_back, mp_pop_back
Multi-index Containers:
size_type and difference_type are now defined as the allocator's same-named types. This will not make any difference in the vast majority of cases, but allows for some degreevia user-defined allocator types (see issue #17 for motivation). For the moment being, this change is not documented in the reference section (i.e., it has semi-official status).
Maintenance work.
Multiprecision:
Fix various conversioncheck for compatibility with Boost.Optional.
Prevent instantiation of std::numeric_limits on any old type when checking for convertibility. See #98.
Update variable precision code to account for arbitrary precision integers. See #103.
lization archives.
Fix bug in fixed precision iostream formatting in mpf_float and mpfr_float. See #113.
Add more overloads for special functions which are better handled natively by MPFR.
Fixed bug in generic exp implementation wh.
Fixed generic conversion from float to integer to avoid undefined behaviour. See #110.
PolyCollection:
Improved handling of stateful allocators and allocator propagation traits, after an error reported by Billy O'Neal (PR#9).
ug with an internal cache structure.
Spirit:
Removed use of deprecated boost/detail/iterator.hpp header. PR#432
X3
Integer parsers should now handle user defined types. PR#429
Note: The check_overflow trait defan std::numeric_limits<T>::is_bounded instead of boost::integer_traits<T>::is_integral.
Removed sequence into plain parsing. Now it triggers a compile time error instead of silently parsing the the sequence and taking the last value as a resulte_rule instantiation with BOOST_SPIRIT_INSTANTIATE when:
A rule has no attribute. PR#455
An actual attribute is not of type a rule was declared with. PR#456 #457
A huge thanks goes out to Xeverous for reporting Fixed unneded attribute synthesization and no-transformation attribute reference pass-through in rules. #444 PR#449 PR#452
Removed broken 1.0#INF parser. It was poorly documented and never worked. #415 PR#458 #8699
The undocumenoved due to bugs PR#449 and to simplify attribute transformation. PR#460
If you were using it to workaround bugs in attribute transformation - they should not be needed anymore as of this release.
The integer value parser now respe10 value. PR#469
Fixed underflow check for a (Min % Base) == 0 corner case. PR#469
Fixed an output value on overflow of IgnoreOverflowDigits=true integer parser. PR#470
Container attribute elements were copyied, but notial handling of references in transform_attribute was removed. PR#480
V2
Macro name collisions and namespace conflicts with Boost.Endian were fixed. PR#349 PR#482
utree
Fixed UB in tag getter due to left shi Fixed double-conversion (spirit::string -> std::string -> spirit::string). PR#462
Qi
Added static asserts for rule skipper type problems. PR#427
The check_overflow trait default implementation now reoost::integer_traits<T>::is_integral PR#429
Integer parsers should now handle user defined types. PR#429
Note: The check_overflow trait default implementation now relies on std::numeric_limits<T>::is_bounded instead of boosl.
Removed broken 1.0#INF parser. It was poorly documented and never worked. #415 PR#458 #8699
The undocumented make_attribute trait was merged into transform_attribute trait. PR#471
The pre_transform, post_tility functions were removed in favor of directly using pre/post/fail of the transform trait. PR#467
The integer value parser now respects std::numeric_limits<T>::digits10 value. PR#469
Fixed underflow check for a (Min % B Fixed an output value on overflow of IgnoreOverflowDigits=true integer parser. PR#470
Special handling of references in transform_attribute was removed. PR#480
Lex
Fixed UB in default constructor of ken type. PR#420
Classic:
Fixed position_iterator forming reference to local when the underlying iterator dereference operator returns a non-reference type. PR#422 #9737
Stacktrace:
Build fix for iOS 32-bit ARM (many thanksng the fix PR#70)
Fixed multiple typos, warnings and updated the docs.
Test:
Boost.test v3.10 see the Changes log for more details.
Breaking changes:
Boost.Test minimal.hpp is now showing a deprecation warning,
omparison may fail tests that were silently not using the floating point comparison logic prior to this release,
Internal API change to unit_test_log_formatter, see detailed change log,
New feature:
Floating point compariso non-floating point and arithmetic operands: expressions like BOOST_TEST(3.0001 == 3) now use floating point support of Boost.Test,
Custom datasets are not required to declare the sample type field anymore,
Extending template test riadic definition,
Windows support for timed tests,
Timed test on test-suites,
Removed dependency to Boost.Timer,
New macro BOOST_TEST_INFO_SCOPE for scoped context declaration,
Improved BOOST_TE and pull requests:
Trac tickets: #7397, #9434, #13106, #13418
GitHub Issues: #133, #138, #141, #157, #160, #174, #176, #177, #180, #181, #194, #196, #198, #199, #202, #203, #204
GitHub Pull Requests: PR#171, PR#172, PR PR#195, PR#195, PR#197, PR#205
TypeIndex:
Support for the GHS C++ compiler added (many thanks to Brandon Castellano for providing the patch PR#28)
Optimized string and type comparisons (many thanks to Andrey Semashev for providing the-win compilation (many thanks to Peter Dimov for providing the patch PR#25)
CI hardening.
TypeTraits:
Added is_bounded_array and is_unbounded_array (Glen Fernandes).
Added copy_reference and copy_cv_ref (Glen Fernandes).
/clr option.
Misc compiler compatibility fixes.
Variant:
Many cleanups and internal improvements, many thanks to Nikita Kniazev (PR#55, PR#56, PR#57) and Louis Dionne (PR#51)
CI hardening.
uBlas:
Addition of tensorassoy PR#65)
Addition of basic OpenCL support (many thanks to Fady Essam PR#59)
Integration of basic benchmark suite (many thanks to Stefan Seefeld PR#57)
CI integration and hardening
Compilers Tested
Boost's primary test compileang: 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.17, 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:
, 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.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
Fr
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..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
G9.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, 9ang, 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 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
boost: updated to 1.69.0 New Libraries Safe Numerics: A library for guaranteed correct integer arithmetic for C++14 and later, from Robert Ramey. Updated Libraries Any: Fixed issue with visibility. Now boost::any variables constructed in one shared library with hidden visibility could be used and destroyed in other shared library with hidden visibility. Maintenance: dropped some dependencies on other Boost libraries, fixes for docs. Asio: Fixed a problem with the detection of std::future availability with libstdc++. Fixed compile error in regex overload of read_until. Fixed a timer heap corruption issue that can occur when moving a cancelled timer. Fixed detection of std::experimental::string_view and std::string_view with newer clang/libc++. Fixed MSVC version detection for availability of std::invoke_result. Fixed the buffer sequence traits to test the new requirements, if decltype is available. Fixed an MSVC issue when building with exceptions disabled. Added SSL context options for TLS v1.3. Added a compile-time test for TLS v1 support. Fixed the macro used to test for TLS v1.2 support. Prevented global objects from being created once per thread on Windows. Fixed a crash when using size(), max_size() or empty() on default-constructed resolver results. Changed to move the return value in basic_resolver_results::begin() to avoid copying. Enabled move support for the Intel Compiler. Fixed std::string_view detection issue when using clang-cl. Fixed the handler tracking operation name for io_context::executor_type::dispatch. Fixed a buffer overflow that could occur when parsing an address string with a 64-bit scope id. Added examples showing how to write composed operations. Added C++11 versions of the Timeouts, Timers, SOCKS4 and SSL examples. Fixed minor issues in documentation and examples. Assign: Add rvalue reference, perfect forwarding, and variadic template support Avoid conversion to container's allocator Beast: This version fixes some issues in the examples, and provides a new experimental socket which supports built-in timeouts on asynchronous operations. New CppCon 2018 websocket chat example and presentation video. For a complete list of changes, please view the official Release Notes. CircularBuffer: Use the empty base optimization for storing allocators that are empty and not final (Glen Fernandes). Concept Check: Removed dependency on mpl. Context: duplicate alias should be missing GCC alias the clang-win toolset (clang-cl.exe) uses masm from the underlying msvc remove useless lines in Jamfile.v2 add .file section for *_elf_gas.S files Core: Implemented boost::empty_value, for library authors to conveniently leverage the Empty Base Optimization to store objects of potentially empty types (Glen Fernandes). This facility is now used in Boost.Beast, Boost.CircularBuffer, Boost.MultiArray, and more. Implemented boost::quick_exit to provide the C++11 standard library facility std::quick_exit functionality (Peter Dimov). Reduced the number of statics in Lightweight Test, and employ lighter abort behavior for MSVC compilers upon failure to call boost::report_errors (Glen Fernandes). DLL: Resolved link issues with the smart library Maintenance: fixes for docs and tests. Dynamic Bitset: Performance improvements (over 2x in some cases). Added range-based set, reset, flip methods Fiber: unbuffered_channel push not return Remove UTF-8 BOM at begining of the file Fix boost-install use; should only be issued once Filesystem: Don't use readdir_r on Linux and Android since the readdir function is already thread-safe. Fixed crashes in boost::filesystem::copy due to undefined behavior in the implementation. Fixed undefined behavior in boost::filesystem::directory_iterator implementation. Fixed compilation errors when using directory iterators with BOOST_FOREACH. Removed workarounds for older PGI C++ compiler versions to fix compilation on the newer ones. Fixed MSVC warnings about narrowing conversions. Flyweight: Fixed some issues in GCC related to Boost.MPL placeholder expression handling. Maintenance fixes. Function: Removed dependencies on mpl, test Geometry: Karney's solution of direct geodesic problem for internal use Discrete Frechet and Hausdorff distance algorithms New run-time and upgraded compile-time SRS transformation interfaces (undocumented for now due to potential interface changes). Integer: boost/pending/integer_log2.hpp header is deprecated and will be removed in future releases. Use boost/integer/integer_log2.hpp instead. Iostreams: Remove call to nonexistent member seekpos() of std::fpos Iterator: Fixed compilation problems with ambiguous unqualified calls to advance and distance on iterators whose types involve types in the namespace boost. LexicalCast: Fixed sign-conversion warnings Maintenance: dropped some dependencies on other Boost libraries, fixed build system warnings. Log: General changes: Updated syslog sink backend to avoid using deprecated Boost.ASIO interfaces. Bug fixes: Fixed a possible incorrect estimation of the total size of rotated files in the target directory of a text file sink in some cases. See changelog for more details. Logic: Breaking change: Use explicit operator bool when available Math: Add LambertW functions. Update integration routines to support complex valued integrands and contour integrals. Added the derivative of the Barycentric rational approximation. Minor fixes to better support variable precision floating point types. Removed use of deprecated Boost.Endian in favour of Predef. Updated continued fraction and series evaluation code to support complex types. Prevent logic error leading to infinite loop in toms748_solve. Fix mean and standard_deviation for extreme_value_distribution. Improve heuristics used in newton_raphson_iterate. Fix result of erf(NaN). Big push to reduce GCC warnings. Refactor polynomial addition. Fix for vxWorks having a real function in the global namespace. Improve sinc approximations and add better tests. Fix typo in Student's T hypothesis testing documentation, Mp11: Implemented the mp_starts_with facility (Glen Fernandes). MultiArray: Improve C++11 allocator model support including: Support for C++11 minimal allocators, support for stateful allocators, using the allocator for construction and destruction of the value type, and using the empty base optimization for storing empty or stateless allocators (Glen Fernandes). Multi-index Containers: Introduced an alternative terse key specification syntax for C++17 compliant environments. Multiprecision: Big update to better support variable precision types so that the precision of the result is always the largest of all the arguments. Add support for allocators that are final in __cpp_int (Glen Fernandes). Removed use of deprecated Boost.Endian in favour of Predef. Add support for std::string_view. Fixed minor bug in constant initialization. Make assignment of non-finite value to cpp_int a runtime errors. Added typedefs for cpp_bin_float_oct and cpp_complex_oct. PolyCollection: Added Bost.PolyCollection-specific versions of algorithms std::for_each_n and std::sample. Pool: Replace boost::mutex use to avoid a dependency on Boost.Thread Preprocessor: Supports the new C++ standard conforming preprocessor in VC++ 14.1, which is currently enabled by using the /experimental:preprocessor switch, in Visual Studio 2017 15.8 on up. Rational: Add constexpr support Spirit.X3: Drop own FP routines in favor of boost::math Missing visibility mark on exception types to_utf8: Fixed wchar_t handling on Windows Spirit V2 Drop own FP routines in favor of boost::math Missing visibility mark on exception types Fixed transform_attribute ambiguity to_utf8: Fixed wchar_t handling on Windows Spirit.Classic: Missing visibility mark on exception types Stacktrace: libbacktrace usage was significantly improved. BOOST_STACKTRACE_USE_BACKTRACE or boost_stacktrace_backtrace users are encouraged to update: Memory consumprion dropped down. Stack capturing became faster by an order of magnitude. syminfo fallback enabled to provide information for visible symbols even without debug information Exact location of the backtrace.h header now can be specified via BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE, to allow backtrace.h header usage on platforms and compilers where that header is unreachable otherwise (for example Ubuntu Xenial + Clang) Optimized stack capturing if max_depth is set Added to_string(const stacktrace& ) functions for fast conversion of stacktraces to std::string System: Boost.System is now header-only. A stub library is still built for compatibility, but linking to it is no longer necessary. Even more functions have been marked constexpr. The destructor of error_category is now protected and no longer virtual. This is a potentially breaking change, but its impact is expected to be limited. error_category now has a constructor that accepts a 64 bit identifier, enabling distinct category objects to compare equal. The constructors of error_category are now protected. A non-allocating, nonthrowing overload of message has been added. A virtual function failed has been added, allowing categories for which success is not synonymous with 0. The deprecated boost::system::throws object has been removed. boost::throws() is now deprecated and its use is discouraged. The constructor of system_error taking a single error_code argument is now explicit. system_error::code() now returns by value. Test: Boost.test v3.9 see the Changes log for more details. New feature: Official support of header-only variant of Boost.Test with multiple translation units. Now possible to manually add a test case by specifying its name, with BOOST_TEST_CASE_NAME Better support of boost::exception in the logs TypeIndex: Fix the regression and speed up parsing of the boost/type_traits.hpp header by 30% Utility: Added support for non-inheritable empty types to boost::compressed_pair by avoiding the empty base optimization for types which are declared as final (Glen Fernandes). Variant: Fixed issue with visibility. Now boost::bad_visit exception could cross the boundaries of shared library with hidden visibility and could be catched in other shared library with hidden visibility. YAP: Minor changes to support MSVC++ version 14.15 (Visual Studio 2017 version 15.8). Doc fixes.
boost-headers: do not generate user.hpp during configure. Use the pregenerated file instead. The configure step is only intended to be used as a base when porting to new platforms, and as-is it didn't use the same flags that were used in other places. See https://github.com/boostorg/config/issues/240 for more details. Bump PKGREVISION.
boost: updated to 1.68.0 1.68.0: New Libraries YAP: An expression template library for C++14 and later, from Zach Laine. Updated Libraries Beast: This version fixes a missing executor work guard in all composed operations used in the implementation. Users who are experiencing crashes related to asynchronous completion handlers are encouraged to upgrade. For a complete list of changes, please view the official Release Notes. Context: 78: Linker error with context-impl=ucontext: multiple definition of boost::context::detail::current_rec Coroutine2: 14: crash while stack unwinding 18: some guidance on why to use coroutine2 20: failes to compile test in due to the error C2039 22: undefined behaviour documentation Fiber: 170: buffered_channel::try_push has incorrect documentation 172: WIN64: 'invalid conversion from 'HANDLE' to 'std::thread::native_handle_type' errors for builds using mingw-w64 175: throw exception "Operation not permitted" NUMA support moved to extra library (fiber-numa); enabled via property numa (numa=on) Fusion: Added a workaround for ambiguous call of fusion::deque constructor on GCC 4.4/c++0x Fixed a bug with C-style array Fixed a fusion::for_each signature to take functor by value This may break existing code with non-copyable (non-movable) functor, but the implementation wasn't correct for a long time; the documantation was correct from the first. So, please make sure your usage. Fixed unintentional MPL placeholder substituion bug on fusion::transform. Moved description, how to conform Fusion sequence as MPL sequence, to mpl section. Added notes regarding IO facility for adapted type. Geometry: Improvements 469 Horizontal grid shift (nadgrids) in SRS transformations (undocumented for now due to potential interface changes). 478 Box-Segment distance for spherical and geographic coordinate systems. 487 Missing combinations of geometries in distance for spherical and geographic cs 489 Additional direct geodesic problem formulas for internal use Solved issues 470 Assertion failure with short spherical and geographic segments. 471 Invalid envelope of spherical polygon 498 Unexpected results with expand() and make_inverse() for spherical and geographic CS Bugfixes 488 Handle non-true-references in closing_iterator and ever_circling_range_iterator 495 VxWorks 7 cross-compilation issue. GIL: The I/O extensions have been entirely rewritten. The library now requires a C++11-compliant compiler. Documentation has been reformatted and updated. Graph: Conditionally replace deprecated/removed C++98 std::bind1st by std::bind, std::auto_ptr by std::unique_ptr, and std::random_shuffle by std::shuffle. Fix compiler error with release builds on VS2015 Fix the Stanford GraphBase examples Fix friend declarations for iterator_core_access Add missing <boost/iterator.hpp> include Avoid an unused variable warning Fix some typos in documentation Fix some issues in tests and examples Lexical Cast: Fixes for clang-tidy warnings 12092 Log: Improved support for VxWorks. Save and restore ebx register on x86 PIE targets in the dump stream manipulator implementation. Math: Support for arbitrary precision complex valued quadrature and hence contour integration Improve performance of polynomial addition Math: Continue to improve numerical integration routines, and in particular add support for contour integrals. Improve accuracy of erfc function's rational approximations. Multi-index Containers: Containers of moveable but non-copyable elements can now be serialized (ticket 13478). Thanks to Sébastien Paris for the report. multi_index_container's default constructor is no longer explicit (ticket 13518). Multiprecision: Support for multiprecision complex numbers Multiprecision: Support added for complex multiprecision numbers. Changed conversion to unsigned integer types to be truncating to match standard defined behaviour. Correct bug in MPFR string formatting. Fix undefined behaviour in cpp_dec_float conversion from long long. Add support for Eigen interoperability. float128.hpp: Fix Intel on Windows build. Fix type used in temporaries when expanding expression templates containing mixed expressions. Fix infinite loop in gmp_float to fixed-point string conversion. Update the expression templates to issue static_asserts with better error messages when you try and do something unsupported. Fix bug in cpp_int where incrementing to zero doesn't set the sign correctly. Remove erroneous use of std::move, and rely on NVRO instead. Fix up support for changes to MPIR-3.0. Fix various conversion errors in cpp_bin_float when the exponent type is a long long, or else we're converting to an integer that is wider than we are. Fix compatibility issue with GCC-8 caused by the introduction of std::byte. Optional: Added member function has_value() for compatibility with std::optional (issue 52). Added member function map() for transforming optional<T> into optional<U> using a function of type T -> U. Added member function flat_map() for transforming optional<T> into optional<U> using a function of type T -> optonal<U>. Predef: Add support for __ARM_ARCH macro. Add detection for PTX architecture. Add nvcc compiler detection. Add support for detecting CUDA. Remove reference to obsolete BOOST_ARCH_AMD64. Program Options: Support for multiple long names for an option, thanks to Eyal Rozenberg Python: Bug fixes to correct autolink support (Windows) Rational: Fixed undefined behavior in normalize() System: Add constexpr to error_code and error_condition members under C++14 and above Signals: Removal Notice: Boost.Signals will be removed in the next release. Boost.Signals was deprecated in version 1.54.0. Transition to Boost.Signals2 now to avoid disruption. Stacktrace: Fixed compilation on Solaris and other platforms that do qualify address as const in dladdr function (github 54). Dropped dependency on Boost.LexicalCast. Test: Boost.test v3.8 see the Changes log for more details. Breaking changes The master_test_suite_t object is no more copyable New feature: Dataset test case can now use command line parameters TypeIndex: Dropped dependency on Boost.MPL. Uuid: Breaking change: sha1 detail namespace header redirection for backwards compatibility was removed Added support for std::hash Added support for move semantics on random generators Properly handle EINTR when acquiring entropy Use getrandom(2) instead of getentropy(3) on linux
devel/boost-headers: Fix wave on FreeBSD https://github.com/boostorg/wave/commit/0e25913e
devel/boost-headers: Fix an incorrect line in a patch The patch file deleted a backslash incorrectly, breaking the packages using the header file it patched on some platforms.
devel/boost-headers: Add a missing #include. This fixes Boost ticket #13497 (https://svn.boost.org/trac10/ticket/13497). Patch from https://github.com/boostorg/lockfree/commit/12726cda.
Fix devel/boost-libs build on NetBSD Bump PKGREVISION of devel/boost-headers
boost: updated to 1.67.0 Version 1.67.0: New Libraries: - Contract: Contract programming for C++. - HOF: Higher-order functions for C++. Updated Libraries: - Asio: Added missing const qualifier to basic_socket_acceptor::get_option. Worked around a parsing error that occurs with some versions of gcc. Fixed broken code samples in tutorial. Added new experimental features. (Note that "experimental" features may be changed without notice in subsequent releases.) Added experimental::detached completion token. Added experimental::redirect_error completion token. Added experimental::co_spawn facility for integration with the coroutines technical specification. Updated timeout examples to use latest features. Used asio::steady_timer rather than asio::deadline_timer. Used asio::dynamic_buffer rather than asio::streambuf. Used timed asio::io_context::run_for() function for blocking clients. Added example showing a custom completion token for blocking with timeouts. Fixed unit tests to compile when BOOST_ASIO_NO_DEPRECATED is defined. Changed socket iostreams to use chrono by default, to fix compatibility with the Networking TS. Define BOOST_ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the old Boost.Date_Time interface in basic_socket_streambuf and basic_socket_iostream. Updated examples to use chrono rather than Boost.Date_Time. Fixed an incorrect member function detector in the is_dynamic_buffer trait. Fixed an async_result incompatibility with deprecated handler_type. Added a missing move optimisation in the SSL stream implementation. Fixed incorrect basic_resolver_results::value_type typedef. Fixed a compile error with some OpenSSL versions when SSL_OP_NO_COMPRESSION is defined. Changed add_certificate_authority to process multiple certificates in a bundle. Eliminated deprecation warning with MSVC by using std::invoke_result rather than std::result_of. Changed to use std::string_view for C++17 or later, and std::experimental::string_view for C++14. Define the preprocessor macro BOOST_ASIO_DISABLE_STD_STRING_VIEW to force the use of std::experimental::string_view (assuming it is available) when compiling in C++17 mode. Ensured DynamicBuffer template arguments are decayed before using in enable_if tests. Changed documentation to distinguish legacy completion handlers (which are still required to be CopyConstructible) from new MoveConstructible handlers. Suppressed a discarded return value warning in the buffer debugging support. Fixed basic_yield_context to work with completion signatures containing reference parameters. Ensured that stackful coroutines launched using spawn() correctly store decayed copies of their function and handler arguments. Fixed some compatibility issues with Android. Added cross-compilation support to Jamfiles. Fixed some minor portability issues in examples. - Atomic: Breaking change: Changed the result of the (op)_and_test operations added in Boost 1.66 to the opposite - the functions now return true if the operation result is non-zero. This is consistent with other test methods in Boost.Atomic and the C++ standard library. Users can define BOOST_ATOMIC_DETAIL_HIGHLIGHT_OP_AND_TEST when compiling their code to emit warnings on every use of the changed functions. This way users can locate the code that needs to be updated. Update for C++2a. On C++11 compilers that support scoped enums, the memory_order enumeration is now scoped and contains constants with shorter names like acquire, release or seq_cst (i.e. users can use memory_order::acquire instead of memory_order_acquire). The old constants are also provided for backward compatibility. (P0439R0) Update for C++2a. Added experimental support for atomic operations on floating point types. In addition to general operations, add, sub, negate operations and their fetch_(op) and opaque_(op) versions are supported. Lock-free property can be tested with the new macros BOOST_ATOMIC_FLOAT/DOUBLE/LONG_DOUBLE_LOCK_FREE. The support for floating point types is optional and can be disabled by defining BOOST_ATOMIC_NO_FLOATING_POINT. (P0020R6) Added new experimental operations: negate_and_test and complement_and_test which perform negation or bitwise complement and return true if the result is not zero. add, sub, negate, bitwise_and, bitwise_or, bitwise_xor, bitwise_complement operations which perform the operation and return its result. For generic atomic<T> specialization, the default constructor is now trivial if T's default constructor is. The internal implementation of atomic<T> has been updated to avoid undefined behavior that stems from signed integer overflows. As required by the C++ standard, the library uses two's complement representation of signed integers internally and accroding rules of overflow. Currently, the library requires the native signed integer types to also use two's complement representation (but no defined overflow semantics). Improved Clang support. In particular, fixed DCAS not being lock-free and fixed possible incorrect code generated on 32-bit x86. Improved MinGW support. For gcc versions up to 4.6, fixed compilation of DCAS on x86. In x86 PIE code, asm blocks now preserve ebx value. - Beast: This version fixes significant defects in websocket::stream which can lead to asserts or undefined behavior. Users are encouraged to update to the latest Boost release. For a complete list of changes, please view the official Release Notes. - ContainerHash: Extracted from the functional module to break a dependency cycle. Moved headers to new location to reflect name change, the old include paths will still work. Added support for std::string_view, std::error_code, std::error_condition, std::optional, std::variant, std::monostate where available. Added explicit support for vector<bool>, so that it will work with libc++. More detail in the library change log. - Context: fix i386/macho routines to correctly return transfer_t in EAX/EDX __sanitizer_finish_switch_fiber should be called directly after context switch Clang on Windows : error: No best alternative for libs/context/build/asm_sources fixing C2492 for execution_context (v1) known bug: including all.hpp + <context-impl>ucontext/winfib causes error 'forced_unwind: is not a member of boost::context::detail' More info https://www.boost.org/users/history/version_1_67_0.html
boost: use c++17 as a test for having string view, not NetBSD macro. This changes the package for anyone that used it with C++17 experimental support and now won't get it (we're cutting off at 'actual C++17'). Bump headers PKGREVISION, suggested by joerg.
Version 1.65.0 New Libraries: PolyCollection, Stacktrace. Updated Libraries: Asio, Context, Config, Core, Coroutine2, DLL, Fiber, Fusion, Geometry, Hash, Log, Phoenix, Predef, Program Options, Python, Smart Pointers, Test, TypeIndex, Unordered, Utility, Variant.
boost-headers: revert previous; upstream says it's incorrect and it's incomplete too. Bump PKGREVISION.
boost-headers: do not use auto_ptr Fixes build of gnucash-wip. Reported upstream as https://github.com/boostorg/locale/pull/19 Bump PKGREVISION.
Move workaround for missing include from csound6 to main boost package, it affects others. Bump boost-headers.
Bump PKGREVISION from enabling log1p and expm1 under NetBSD
Changes 1.62.0:
New Libraries
-------------
Fiber:
* Framework for userland-threads/fibers, from Oliver Kowalke.
QVM:
* Boost QVM is a generic library for working with quaternions, vectors and matrices of static size with the emphasis on 2, 3 and 4-dimensional operations needed in graphics, video games and simulation applications, from Emil Dotchevski.
Updated Libraries
-----------------
Atomic:
* Improved support for Oracle Studio and SPARC. The library now provides native atomic operations on SPARCv8+.
Chrono:
* 11330 boost::chrono::duration default constructor doesn't initialize rep_
* 11618 Chrono IO V2 doc ios_state.hpp does not exist
* 11631 boost chrono io v2 does not let you support custom clocks
Circular Buffer:
* Debug implementation is no longer used by default in debug mode. Debug implementation does not have the same thread safety guarantees as the normal (release) implementation or other containers. As a result of this change BOOST_CB_DISABLE_DEBUG macro is no longer used. BOOST_CB_ENABLE_DEBUG=1 should be defined instead to enable debug support.
Container:
* Fixed bugs:
Trac 9481: "Minor comment typo in Boost.Container".
Trac 9689: "Add piecewise_construct to boost::container".
Trac 11170: "Doc slip for index_of".
Trac 11802: "Incorrect ordering after using insert() with ordered_range_t on a flat_multiset with a non-default sort order".
Trac 12117: "flat_set constructor with ordered_unique_range".
Trac 12177: "vector::priv_merge uses unqualified uintptr_t".
Trac 12183: "GCC 6.1 thinks boost::container::string violates strict aliasing".
Trac 12256: "set<std::pair<int,int>>::insert cause compilation error in debug configuration in Visual Studio 2012".
Trac 12273: "static_vector max_size() and capacity() should be constant expressions". Added constant static_vector<>::static_capacity to use the configured capacity in constant expressions.
Trac 12286: "PMR flat_map from Boost Container does not compile".
Trac 12296: "{deque,string} combine for a memory leak".
Trac 12319: "flat_set should be nothrow move constructible".
* Revised noexcept expressions of default and move constructors in all containers.
* Implemented C++17 insert_or_assign/try_emplace for map and flat_map.
* Implemented C++17 extract/insert(node) for map, multimap, set, multiset.
Context:
* 12215 all stack corrupted on Windows using default fixedsize_stack
* 12242 build issue with Intel C++ compiler for MacOS
* fix stack unwinding for execution_context_v1
Coroutine:
* deprecated in favour of Coroutine2
Coroutine2:
* 12221 coroutine<>::push_type function starts without pushing
* do not swallow exceptions thrown at coroutine<>::push_type construction
DLL:
* Mangled symbols and classes loading was implemented by Klemens Morgenstern
* Suppress a 'unused parameter' warning in detail::aggressive_ptr_cast pull-request 9
* Allowed to query non-existant sections pull-request 32
* More tests and docs
Functional/Forward:
* Fix C++11 compile error.
Interprocess:
* Fixed bug GitHub Pull 27 ("Fix undefined behavior").
Intrusive:
* Fixed bugs:
Boost Trac 11476: has_member_function_callable_with.hpp is massively broken with BOOST_NO_CXX11_DECLTYPE
Boost Trac 11994: Support intrusive container key extractors that return the key by value
Boost Trac 12184: clang -Wdocumentation warning
Boost Trac 12190: Intrusive List + Flat Map combination crashes
Boost Trac 12229: intrusive::unordered_set<T>::rehash() broken
Boost Trac 12245: bstree uses a shared static size_traits for constant_time_size<false>
Lexical Cast:
* Fix incorrect static assertion 11759
Log:
* New features:
Added new tools for inter-process logging on a local machine. The implementation includes a resource name wrapper, an inter-process message queue and a sink backend.
Added a new character decorator called max_size_decor. The new decorator allows to limit the output of its adopted formatter up to the specified length.
* Bug fixes:
Fixed that logging streams could retain formatting settings across different log records. (12178)
See changelog for more details.
Math:
* New Features:
Enabled all the special function code to work correctly with types whose precision can change at runtime: for example type mpfr_float from Boost.Multiprecision.
* Patches:
Fix tgamma_delta_ratio for cases where the delta is small compared to the base.
Fix misc GCC-4.4 test failures.
Optional:
* Fixed Trac 12179.
Phoenix:
* Fix compilation for MSVC 10. pull-request 18
* Remove unused preprocessed files. pull-request 28
* Fix erroneous doc for switch_ statement. 8156
* Cleanup config unordered. pull-request 33
* Suppress unused placeholder warnings.
* Fix too few arguments error on binary math functions.
Regex:
* Fix buffer over-run error when parsing certain invalid regexes, see 12222.
* Fix detection of ICU in library build, see 12152.
* Fix bug in case sensitivity change, see 11940.
* Allow types wider than int in \x{} expressions (for char32_t etc), see 11988.
Test:
* Boost.test v3.3 see the Change log section for more details.
* New features
dataset driven test-cases have now a unique name and all sample tests of a dataset live inside the same test suite
Boost.test learned a new command line switch, --logger for setting a test logger as well as its parameter in one command
Boost.test learned to have several loggers at the same time, each of which having their own log level and output stream
Boost.test learned a new logger, JUNIT, that is able to output Junit/xUnit compatible streams
It is now possible to specify several test filters through the environment variable BOOST_TEST_RUN_FILTERS
* Bug fixes
Trac tickets 8707, 8834, 11128, 11845, 11859, 12024,
Trac tickets 12093, 12103, 12224, 12241, 12257, 12378
Thread:
* 12102 condition_variable_fwd.hpp fails to compile when BOOST_THREAD_PROVIDES_INTERRUPTIONS is disabled
* 12120 Performance improvement in thread/barrier.hpp
* 12146 make_exceptional_future is not mentioned in the docs
* 12202 shared_lock should be in shared_mutex header
* 12371 boost thread/future.hpp fails to build
* 88 fix typos in boost::upgrade_lock
* 89 fix a bug in upgrade_to_unique_lock<>::operator=()
* 90 fix a bug in try_lock_wrapper<>::operator=()
* 91 Add shared_lock_guard to the included lock types
* 92 Fixed compilation with MSVC-8.
* 93 Fix variable shadowing warnings (Clang)
* 94 fix bugs in boost::barrier
* 95 fix a mistake in boost::completion_latch
* 96 rename async_func.hpp to invoker.hpp.
* 97 fix a mistake in sync_timed_queue<>::pull_until()
TypeIndex:
* ctti_type_index was made constexpr in C++14. Now it is possible to retrieve actual name of the type as const char* at compile time. So we can do a lot of interesting things at compile time: check namespace of a type, sort types according to their lexical representation, check that type is a template type and so on... A few examples were provided.
* Fixed issue with noexcept on MSVC in type names and issue with space in type name (pulled from klemens-morgenstern/develop)
* Fixed typos pull-request 7
* Improved CI testing
Unordered:
* Remove use of deprecated boost::iterator.
* Fixed an exception safety issue in assignment of unordered_multiset and unordered_multimap.
* See the changelog for more details.
Variant:
* Fixed variant construction from classes derived from variant 7120, 10278, 12155
* Variant constructors and assignment operators now do not participate in overload resolutions if variant can not hold the input type 5871, 11602
* Fixed the issue with implicit conversion operator in C++11 8555
* Fixed comparisons when variant holds non-const reference 11751
* Fixed noexcept for variant's move-assignment 11696
* Fixed double quotes in includes 12057
* Dropped BOOST_VARIANT_NO_REFERENCE_SUPPORT macro and dropped support for compilers without SFINAE 12250
* Suppress implicit instantiation of MPL end iterator
* Multiple minor fixes (typos, missing includes)
Fix boost/optional/optional_fwd.hpp header file using upstream patch. https://github.com/boostorg/optional/pull/19/commits/844ca6a0d506e59daedabb2b94e1117ec4a7e71e Bump PKGREVISION of boost-headers.
Changes 1.61.0: New Libraries: -------------- Compute: Parallel/GPU-computing library DLL: Library for comfortable work with DLL and DSO. Library provides a portable across platforms way to: * load libraries * import any native functions and variables * make alias names for C++ mangled functions and symbols * query libraries for sections and exported symbols * self loading and self querying * getting program and module location by exported symbol Hana: A modern C++ metaprogramming library. It provides high level algorithms to manipulate heterogeneous sequences, allows writing type-level computations with a natural syntax, provides tools to introspect user-defined types and much more. Metaparse: A library for generating compile time parsers parsing embedded DSL code as part of the C++ compilation process. The library is similar to Spirit, however while parsers built with Spirit parse at run-time, parsers built with Metaparse parse at compile-time.
Make bjam.mk aware of gcc-5.x
Bump PKGREVISION for boost-{headers,libs}.
Disable long double math functions for NetBSD and FreeBSD. Bump PKGREVISION for devel/boost-headers and devel/boost-libs. This fixes databases/mongodb build.
Add workaround for NetBSD 7.99 and 7. Fix converters/librevenge build Bump PKGREVISION of devel/boost-headers.
Changes 1.58.0: * New Libraries: - Endian: Types and conversion functions for correct byte ordering and more regardless of processor endianness. - Sort: Includes spreadsort, a general-case hybrid radix sort that is faster than O(n*log(n)) * Updated Libraries:
Don't use plain "throw;", it breaks clang -fno-exceptions build. Bump revision of boost-headers.
Changes 1.56.0: Modularization Boost version control has migrated to a system using git submodules. This shouldn't make too much of a difference to users, although the directory structure is now a bit different. Parts of some libraries have been moved into different modules, and several new modules have been extracted from existing code. All header paths should remain the same. The new modules are: Assert: Customizable assert macros. Maintained by Peter Dimov. Core: Core utilities used by other libraries, with minimal dependencies. Maintained by Peter Dimov, Glen Fernandes and Andrey Semashev. Lexical_Cast: General literal text conversions, such as an int represented a string, or vice-versa, from Kevlin Henney. Throw_Exception: A common infrastructure for throwing exceptions from Boost libraries, from Emil Dotchevski. Winapi: Windows API declarations without <windows.h>, for internal Boost use. New Libraries Align: Memory alignment functions, allocators, and adaptors, from Glen Fernandes. Type_Index: Runtime/Compile time copyable type info, from Antony Polukhin.
Fix "implicit conversion changes signedness" warnings in installed header files. Reported as https://svn.boost.org/trac/boost/ticket/9725 Bump boost-headers PKGREVISION.
Disable container forward definitions for libc++, it doesn't agree with the use of inline namespaces.
Changes 1.55.0: Support was removed from Config for some very old versions of compilers. The new minimum requirements are: Digitial Mars 8.41 GCC 3.3 Intel 6.0 Visual C++ 7.1 Other compilers are currently unchanged, but we are considering removing support for some other old compilers. Candidates for removal are: Metroworks C++ (i.e. codewarrior) SunPro 5.7 and earlier Borland C++ Builder 2006 (5.82) and earlier If you're using any of these, please let us know on the mailing lists. We will take into account any feedback received before making a decision.
Fix header to be self-contained. Bump boost-headers.
Do not disable normal self-configure. This prevents the exception handling detection from working and clang is more picky about this than GCC. Bump boost-headers.
Pullup ticket #4065 - requested by drochner
devel/boost-headers: security patch
Revisions pulled up:
- devel/boost-headers/Makefile 1.24
- meta-pkgs/boost/distinfo 1.56
- meta-pkgs/boost/patches/patch-CVE-2013-0252_1 1.1
- meta-pkgs/boost/patches/patch-CVE-2013-0252_2 1.1
---
Module Name: pkgsrc
Committed By: drochner
Date: Tue Feb 5 18:49:06 UTC 2013
Modified Files:
pkgsrc/devel/boost-headers: Makefile
pkgsrc/meta-pkgs/boost: distinfo
Added Files:
pkgsrc/meta-pkgs/boost/patches: patch-CVE-2013-0252_1
patch-CVE-2013-0252_2
Log Message:
add patch from upstream to fix insuficcient validation of UTF-8 strings
which is considered a security problem
bump PKGREV for the affected header, didn't check yet where this
header is compiled into
(boost-1.53 is out, just added the patch for a possible pullup)
Changes 1.53.0: New Libraries: Atomic: C++11-style atomic<>, from Helge Bahmann, maintained by Tim Blechmann. Coroutine: Coroutine library, from Oliver Kowalke. Lockfree: Lockfree data structures, from Tim Blechmann. Multiprecision: Extended precision arithmetic types for floating point, integer and rational arithmetic from John Maddock and Christopher Kormanyos. Odeint: Solving ordinary differential equations, from Karsten Ahnert and Mario Mulansky. News This release contains a fix for ticket 7743, in Boost.Locale. For more details, see the security notice. More info http://www.boost.org/users/history/version_1_53_0.html
add patch from upstream to fix insuficcient validation of UTF-8 strings which is considered a security problem bump PKGREV for the affected header, didn't check yet where this header is compiled into (boost-1.53 is out, just added the patch for a possible pullup)
Changes 1.52.0: http://www.boost.org/users/history/version_1_52_0.html
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Fix hash_value() issue in boost-1.51.0
Update boost to 1.49.0 Changes: New Libraries * Heap: Priority queue data structures, from Tim Blechmann. Details: http://www.boost.org/users/history/version_1_49_0.html
Upstream build fix for https://svn.boost.org/trac/boost/ticket/6158
Fix for boost::foreach, PR#45802
Changes 1.48.0: New Libraries * Container: Standard library containers and extensions * Locale: Provide localization and Unicode handling tools for C++ Beilis. * Move: Portable move semantics for C++03 and C++11 compilers Details: http://www.boost.org/users/history/version_1_48_0.html
patch-ai: Fix a compile problem with the asio headers on NetBSD. Upstream bug: https://svn.boost.org/trac/boost/ticket/6098 Bump revision of boost-headers.
Changes 1.47.0: New Libraries * Chrono: Useful time utilities * Geometry: Geometry Library * Phoenix: Define small unnamed function objects at the actual call site, and more * Ratio: Compile time rational arithmetic More: http://www.boost.org/users/history/version_1_47_0.html
Fix the boost-header fenv.h test on linux. (The incorrectly failing test stops boost-libs from building.) Bump boost-header PKGREVISION.
Changes 1.14.0: * New Libraries Property Tree: A tree data structure especially suited to storing configuration data, from Marcin Kalicinski and Sebastian Redl. * Updated Libraries * Build System A bug preventing "fat" 32-bit + 64-bit builds on OSX has been fixed.
Update boost to 1.36.0. Way too many changes since 1.34 to be listed here. Based on patches sent by Brook Milligan through private mail with some minimal changes by me to fix boost-python and builds on Mac OS X. Tested on NetBSD/amd64 current and Tiger.
Apply patches to fix CVE-2008-0171 in boost-headers and boost-libs. This is a fix for a possible DoS when using Boost.Regex in an application. Note that the fix goes into a header, so all applications that use Boost.Regex may be affected by the problem and need to be rebuilt.
Added support for installation to DESTDIR.
Update boost to 1.34.1. This is based on the patches provided by Brook Milligan
in PR pkg/36558. Committing it right after the freeze so that we have enough
time to resolve the problems that this will surely cause.
New Libraries
* Foreach Library:
BOOST_FOREACH macro for easily iterating over the elements of a
sequence, from Eric Niebler.
* Statechart Library:
Arbitrarily complex finite state machines can be implemented in
easily readable and maintainable C++ code, from Andreas Huber.
* TR1 Library:
An implementation of the C++ Technical Report on Standard Library
Extensions, from John Maddock.
This library does not itself implement the TR1 components, rather
it's a thin wrapper that will include your standard library's TR1
implementation (if it has one), otherwise it will include the Boost
Library equivalents, and import them into namespace std::tr1. Highlights
include: Reference Wrappers, Smart Pointers, result_of,
Function Object Binders, Polymorphic function wrappers, Type Traits,
Random Number Generators and Distributions, Tuples, Fixed Size Array,
Hash Function Objects, Regular Expressions and
Complex Number Additional Algorithms.
* Typeof Library:
Typeof operator emulation, from Arkadiy Vertleyb and Peder Holt.
* Xpressive Library:
Regular expressions that can be written as strings or as expression
templates, and that can refer to each other and themselves recursively
with the power of context-free grammars, from Eric Niebler.
Updated Libraries
* Assign Library:
o Support for ptr_map<key,T> via the new function ptr_map_insert()
o Support for initialization of Pointer Containers when the containers
hold pointers to an abstract base class.
* Date_time library:
o Support for new US/Canada timezone rules and other bug fixes.
See Change History for details.
* Filesystem Library:
Major upgrade in preparation for submission to the C++ Standards Committee
for TR2. Changes include:
o Internationalization, provided by class templates basic_path,
basic_filesystem_error, basic_directory_iterator
and basic_directory_entry.
o Simplification of the path interface by eliminating special constructors
to identify native formats.
o Rationalization of predicate function design, including the addition of
several new functions.
o Clearer specification by reference to POSIX, the ISO/IEEE Single Unix
Standard, with provisions for Windows and other operating systems.
o Preservation of existing user code whenever possible.
o More efficient directory iteration.
o Addition of a recursive directory iterator.
* Function Library:
Boost.Function now implements a small buffer optimization, which can
drastically improve the performance when copying or constructing
Boost.Function objects storing small function objects. For instance,
bind(&X:foo, &x, _1, _2) requires no heap allocation when placed into
a Boost.Function object.
* Functional/Hash Library
o Use declarations for standard classes, so that the library doesn't
need to include all of their headers
o Deprecated the <boost/functional/hash/*.hpp> headers.
o Add support for the BOOST_HASH_NO_EXTENSIONS macro, which disables
the extensions to TR1
o Minor improvements to the hash functions for floating point numbers.
* Graph Library:
o edmonds_maximum_cardinality_matching, from Aaron Windsor.
o lengauer_tarjan_dominator_tree, from JongSoo Park.
o compressed_sparse_row_graph, from Jeremiah Willcock and Douglas Gregor
of Indiana University.
o sorted_erdos_renyi_iterator, from Jeremiah Willcock
of Indiana University.
o biconnected_components now supports a visitor and named parameters,
from Janusz Piwowarski.
o adjacency_matrix now models the Bidirectional Graph concept.
o dijkstra_shortest_paths now calls vis.initialize_vertex for each
vertex during initialization.
o Note: the name of the compiled library for the GraphViz reader has
changed to boost_graph (from bgl-viz) to match Boost conventions.
o See the complete revision history for more information.
* MultiArray Library:
Boost.MultiArray now by default provides range-checking for operator[].
Range checking can be disabled by defining the macro BOOST_DISABLE_ASSERTS
before including multi_array.hpp. A bug in multi_array::resize() related
to storage orders was fixed.
* Multi-index Containers Library:
o New random access indices.
o Non key-based indices feature new rearrange facilities.
o This version also includes a number of optimizations and usage
improvements. For a complete list of changes,
see the library release notes.
* Optional Library:
o boost::none_t and boost::none now added to Optional's documentation
o Relational operators now directly support arguments of type 'T'
and 'none_t'
o operator->() now also works with reference types.
o Helper functions make_optional(val), make_optional(cond,val)
and get_optional_value_or(opt,alternative_value) added.
o Constructor taking a boolean condition (as well as a value) added.
o Member function get_value_or(alternative_value) added.
o Incompatbility bug with mpl::apply<> fixed.
o Converting assignment bug with uninitialized lvalues fixed.
* Parameter Library:
o Every ArgumentPack is now a valid MPL Forward Sequence.
o Support for unnamed arguments (those whose keyword is deduced from
their types) is added.
o Support for named and unnamed template arguments is added.
o New overload generation macros solve the forwarding problem directly.
o See also the Python library changes, below.
* Pointer Container Library:
o Support for serialization via Boost.Serialization.
o Exceptions can be disabled by defining the macro
BOOST_PTR_CONTAINER_NO_EXCEPTIONS before including any header.
This macro is defined by default if BOOST_NO_EXCEPTIONS is defined.
o Additional std::auto_ptr<T> overloads added s.t. one can also pass
std::auto_ptr<T> instead of only T* arguments to member functions.
o transfer() now has weaker requirements s.t. one can transfer objects
from ptr_container<Derived> to ptr_container<Base>,
* Python Library:
o Boost.Python now automatically appends C++ signatures to docstrings.
The new docstring_options.hpp header is available to control the
content of docstrings.
o stl_input_iterator, for turning a Python iterable object into an STL
input iterator, from Eric Niebler.
o Support for void* conversions is added.
o Integrated support for wrapping C++ functions built with the
parameter library; keyword names are automatically known to
docsstrings.
o Enhancements to the API for better embedding support
(boost::python::import(), boost::python::exec()
and boost::python::exec_file()).
* Signals Library:
More improvements to signal invocation performance from Robert Zeh.
* Smart Pointers Library:
o Allocator support as proposed in N1851 (162 Kb PDF).
o pointer_cast and pointer_to_other utilities to allow
pointer-independent code, from Ion Gaztanaga.
* String Algorithm Library:
o lexicographical_compare
o join
o New comparison predicates is_less, is_not_greater.
o Negative indexes support (like Perl) in various algorihtms
(*_head/tail, *_nth).
* Wave Library:
o Wave now correctly recognizes pp-number tokens as mandated by the
C++ Standard, which are converted to C++ tokens right before they are
returned from the library.
o Several new preprocessing hooks have been added. For a complete
description please refer to the related documentation page:
The Context Policy.
o Shared library (dll) support has been added for the generated Wave
libraries.
o The overall error handling has been improved. It is now possible to
recover and continue after an error or a warning was issued.
o Support for optional comment and/or full whitespace preservation
in the generated output stream has been added.
o The Wave library now performs automatic include guard detection to
avoid accessing header files more than once, if appropriate.
o Full interactive mode has been added to the Wave tool. Now the Wave
tool can be used just like Python or Perl for instance to
interactively try out your BOOST_PP macros. Additionally it is now
possible to load and save the current state of an interactive
session (macro tables et.al.).
o The overall performance has been improved by upto 40-60%, depending
on the concrete files to process.
o Support for new pragmas has been added allowing to control certain
library features from inside the preprocessed sources (partial
output redirection, control of generated whitespace and #line
directives).
o Optional support for #pragma message "..." has been added.
o This version also includes a number of bug fixes and usage
improvements. For a complete list of changes, see the libraries
change log.
Fix path to bjam.mk: it now lives inside boost-jam, not boost-build.
Disable wide streambuf support under NetBSD-current with gcc4 because it breaks the build. OK'ed by wiz@.
Update boost* to 1.33.1: Any Library: Cast to reference types introduced in 1.33.0 is now documented on any_cast documentation page. Config Library: Don't undef BOOST_LIB_TOOLSET after use. Boost.Python: * The build now assumes Python 2.4 by default, rather than 2.2 * Support Python that's built without Unicode support * Support for wrapping classes with overloaded address-of (&) operators Smart Pointer Library: Fixed problems under Metrowerks CodeWarrior on PowerPC (Mac OS X) with inlining on, GNU GCC on PowerPC 64. Regex Library: Fixed the supplied makefiles, and other small compiler specific changes. Refer to the regex history page for more information on these and other small changes. Iostreams Library: Improved the interface for accessing a chain's components, added is_open members to the file and file descriptor devices, fixed memory-mapped files on Windows, and made minor changes to the documentation. Functional/Hash Library: Fixed the points example. Multi-index Containers Library: Fixed a problem with multithreaded code, and other minor changes. Refer to the library release notes for further details. Graph Library: * Fixed a problem with the relaxed heap on x86 Linux (fixes bug in dijkstra_shortest_paths). * Fixed problems with cuthill_mckee_ordering and king_ordering producing no results. * Added color_map parameter to dijkstra_shortest_paths. Signals Library: Fixed problems with the use of Signals across shared library boundaries. Thread library: read_write_mutex has been removed due to problems with deadlocks. Wave library (V1.2.1) Fixed a couple of problems, refer to the change log for further details.
Fix build of boost on DragonFly. (a) bjam should be consistent with the rest of the world, the OS is called DragonFly, not DragonFlyBSD. It might be _annoying_, but it is a fact of live and no spelling fault can avoid it. (b) disable the compiler thread support checks, they don't really work and are not needed anyway. (c) DragonFly has wchar and ctype functions, so use them. Bump revisions of boost-build (bjam), boost-headers (well, they changed) and boost-libs.
Replace NO_BUILD with empty do-build target.
Some more pthread fixes: set PTHREAD_OPTS+=require and include the pthread buildlink file in buildlink3.mk. From tv@.
Include pthread.buildlink3.mk; it's needed during the configure stage. Pointed out by tv@.
Complete rework of the Boost packages:
- Drop devel/boost and devel/boost-thread.
- Add devel/boost-docs which includes all the documentation related to Boost
(previously included in devel/boost).
- Add devel/boost-build which includes bjam, the Boost.Build framework.
- Add devel/boost-headers which includes all the header files needed at build
time by programs using Boost (previously included in devel/boost).
- Add devel/boost-libs which includes all the binary libraries needed at build
and run time by programs using Boost (previously included in devel/boost and
devel/thread). All of them are multithreaded, to make things easier.
- devel/boost-python includes the Boost Python library (as it did before), but
now works, given that everything is threaded again.
- Drop our thread_user.hpp customization. Avoids some build failures that
appeared when the previous boost-thread package was not installed.
- Use static PLISTs.
- Install unversioned files. Makes things *a lot* easier when building stuff
outside pkgsrc.
- Add meta-pkgs/boost, a meta package that depends on all of the above.
Thanks go to jlam@ and tv@ for their comments.
While here, update to 1.32.0:
New Toolset Names
The names of some the Boost.Build toolsets have been changed to remove the "."
(dot) character and to fix some other naming inconsistencies. For example,
vc7.1 toolset was renamed to become vc-7_1. Please refer to the Supported
Toolsets section of the installation guide for the complete list of the current
toolset names. This change was made as a part of the effort to make the Boost
distribution compatible with ISO 9660 level 2 requirements.
New Libraries
* Assignment Library: Filling containers with constant or generated data
has never been easier, from Thorsten Ottosen.
* Minmax Library: Standard library extensions for simultaneous min/max and
min/max element computations, from Hervé Brönnimann.
* Multi-index Containers Library: Containers with multiple STL-compatible
access interfaces, from Joaquín M López Muñoz.
* Numeric Conversion Library: Optimized policy-based numeric conversions,
from Fernando Cacciola.
* Program Options Library: Access to configuration data given on command
line, in config files and other sources, from Vladimir Prus.
* Range Library: A new infrastructure for generic algorithms that builds
on top of the new iterator concepts, from Thorsten Ottosen.
* Serialization Library: Serialization/de-serialization of arbitrary C++
data structures to various formats including text, binary, and xml, from
Robert Ramey.
* String Algorithms Library: Collection of string related algorithms for
case conversion, trimming, find/replace operations and more, from Pavol
Droba.
* Tribool: 3-state boolean type library, from Doug Gregor.
Updated Libraries
* Compose: This deprecated library has been removed.
* Graph:
o Added bundled properties to the adjacency_list and adjacency_matrix
class templates, greatly simplifying the introduction of internal
vertex and edge properties.
o The LEDA graph adaptors have been ported to LEDA 4.5.
o Added algorithms for betweenness centrality and betweenness
centrality clustering.
o Added circle layout and undirected spring layout algorithms.
* MPL Library:
o Updated to use the Boost Software License.
o New documentation, including a complete reference manual.
o Major interface changes and improvements, many of which are not
backward compatible. Please refer to the 1.32 changelog for the
detailed information about upgrading to the new version.
* Python Library:
o Updated to use the Boost Software License.
o A new, better method of wrapping classes with virtual functions
has been implemented.
o Support for the new Python Bool type, thanks to Daniel Holth.
o Support for upcoming GCC symbol export control features have been
folded in, thanks to Niall Douglas.
o Improved support for std::auto_ptr-like types.
o Components used by other libraries have been moved out of
python/detail and into boost/detail to improve dependency
relationships.
o Miscellaneous bug fixes and compiler workarounds.
* Signals Library: Introduced deterministic slot ordering, permitting
slots to be connected at the beginning or end of slot groups or the slot
list itself. Combiners may safely have state and are accessible from the
signal.
* Utility: class template result_of added.
* Test Library:
o namespace names gets shorten; old one still supported till next
release
o added proper encoding of XML PCDATA
o support for wide string comparison implemented
For complete list of changes see Test Library release notes.
Regression tests
This release has been extensively tested on a variety of different compilers
and platforms. It is known to contain no regressions against the previous
reference release on the compilers and configurations tested. Please refer to
the corresponding regression reports to see how well your compiler performs on
the new Boost codebase.