501
I Use This!
Activity Not Available

News

Analyzed 5 months ago. based on code collected over 1 year ago.
Posted almost 4 years ago
New Libraries Describe: A C++14 reflection library, from Peter Dimov. Provides macros for describing enumerators and struct/class members, and primitives for querying this information. ... [More] Lambda2: A C++14, dependency-free, single header lambda library, from Peter Dimov. Allows simple function objects to be constructed via expressions such as _1 + 5, _1 % 2 == 0, _1 > _2, or _1 == ' ' || _1 == '\t'. Updated Libraries Any: Added boost::anys::basic_any - a data type with customizable Small Object Optimization whose instances can hold instances of any type that satisfies ValueType requirements (many thanks to Ruslan Arutyunyan @rarutyun). If you are not sure that you really need it, then use boost::any instead. Started using GithubActions CI for additional testing Asio: Added support for cancellation of individual asynchronous operations. Added the associator trait, used to generically forward associators. Changed all asynchronous operations implemented in Asio to invoke their completion handlers as rvalue references. Added support for asynchronous operations with multiple completion signatures. Added operator&& and operator|| for awaitable<>, to allow coroutines to be trivially awaited in parallel. Added the experimental::as_tuple completion token adapter. Added the experimental::append completion token adapter. Added the experimental::prepend completion token adapter. Added the experimental::deferred completion token, whicih allows deferred execution of asynchronous operations. Added the experimental::parallel_group class and experimental::make_parallel_group function. Added experimental::promise, which allows eager execution and synchronisation of asynchronous operations. Added the experimental::coro class template, a C++20 coroutine primitive with the ability to combine both asynchronous waiting (co_await) and yielding (co_yield). Added move assignment to ssl::stream<>. Changed co_spawn to dispatch the coroutine's initial step to the executor. Enabled additional optimisations for any_executor and any_io_executor when used with asynchronous operations. Added the nodiscard attribute to awaitable<>. Increased the number of cached slots in the default recycling allocator. Changed the default allocator behaviour to respect alignment requirements, to support over-aligned types. Ensured the result strings are always initialised in reverse name resolution. Fixed recursive template instantiation issues in use_awaitable_t::executor_with_default. Fixed the any_io_executor equality operators to correctly return a result based on the target executor. Fixed strand<> to avoid using a potentially moved-from executor. Ensured gcc tests are not used for clang when detecting compiler features. Disabled coroutines support for the clang shipped with MSVC. Fixed compatibility with recent LibreSSL when OPENSSL_NO_SSL_INTERN is defined. Fixed posix::basic_stream_descriptor move operations to work with non-defaulted executors. Consult the Revision History for further details. Atomic: Added make_atomic_ref and make_ipc_atomic_ref factory functions for constructing atomic reference objects. Added C++17 template argument deduction guides for atomic_ref and ipc_atomic_ref to allow omitting template arguments when they can be deduced from constructor arguments. Beast: This maintenance update brings minor bug fixes and updated CI reporting. 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. Conversion: boost::implicit_cast is now constexpr (#25). Fixed broken links (PR#23). Started using GithubActions CI for additional testing Core: boost/core/uncaught_exceptions.hpp has been modified for compatibility with Mac OS 10.4 and older. (PR#92) DLL: More runtime checks for malformed ELFs in boost::dll::library_info In boost::dll::library_info use info from .dynsym ELF section if .symtab is empty or missing List protected ELF symbols in boost::dll::library_info as they are available for import (#50) Remove unneeded convert from wchar_t to char on POSIX environment, thanks to Vladislav Shchapov (PR#49) Started using GithubAction CI for additional testing Filesystem: Introducing Boost.Filesystem v4. This new version of the library removes all deprecated features of v3 and also makes a number of breaking API changes intended to make Boost.Filesystem more compatible with std::filesystem introduced in C++17. The differences are described in the release notes and documentation using v3 and v4 tags and are also summarised in a separate section. Users can select Boost.Filesystem version by defining BOOST_FILESYSTEM_VERSION macro to either 3 or 4 when compiling their code. There is no need to separately compile Boost.Filesystem for each library version - a single binary supports both v3 and v4. Users should avoid using both v3 and v4 in the same application as this can lead to subtle bugs. Currently, v3 is the default. In a future release v4 will become the default, and eventually v3 will be removed. v4 is functional, but it is still a work in progress and there may be breaking API changes in the future. v4: path::filename, path::stem and path::extension no longer consider root name or root directory of the path as a filename if the path only consists of those components. For example, on Windows path("C:").filename() used to return "C:" and path("C:\\").filename() used to return "" and both will return an empty path now. (#88, #194) v4: path::stem and path::extension no longer treat a filename that starts with a dot and has no other dots as an extension. Filenames starting with a dot are commonly treated as filenames with an empty extension. The leading dot is used to indicate a hidden file on most UNIX-like systems. (#88) New: Improved support for various path prefixes on Windows. Added support for local device prefix ("\.") and experimental support for NT path prefix ("??"). The prefixes will be included in the root name of a path. Note that using the prefixes with Boost.Filesystem v3 can lead to surprising results (e.g. path("\\\\.\\").stem() == "\\\\"). It is recommended to use the prefixes only with Boost.Filesystem v4. Reworked path::lexically_normal implementation to eliminate some cases of duplicate dot (".") elements in the normalized paths. New: Added runtime detection of the statx and getrandom system calls on Linux. This can be useful if the syscall is present at compile time but fails with ENOSYS at run time (for example, in Docker containers that restrict the syscall, even if available on the host). (#172) New: Added support for disabling usage of various system APIs at library build time. This can be useful when a certain API is detected as present by the library configuration scripts but must not be used for some reason (for example, when runtime detection does not work on the target system). See the description of configuration macros in the library documentationfor for more details. New: Added copy_options::synchronize_data and copy_options::synchronize options for the copy_file operation. These options allow to synchronize the written data and attributes with the permanent storage. These options are expensive in terms of performance, but allow to ensure reliability of the copied data. Note that copy_file performed implicit data synchronization on POSIX systems since Boost.Filesystem 1.74.0. This release adds support for more platforms and disables data synchronization by default while allowing the caller to explicitly request it. (#186) Added handling of EINTR error code on POSIX systems for some system calls issued internally. In particular, EINTR could have been ignored on close, which on HP-UX would result in a leaked file descriptor. In the copy_file implementations based on Linux sendfile and copy_file_range system calls, added handling of error codes indicating that a particular filesystem does not support the system call and fall back to the generic read/write loop. This should fix copy_file failing on eCryptFS and possibly other filesystems. (#184) The copy_file_range system call is now used since Linux kernel 4.5, whereas previously it was only enabled since 5.3. The copy_file implementation will fall back to sendfile or read/write loop if copy_file_range fails to copy a given file across filesystems. The copy_file implementations based on Linux sendfile and copy_file_range system calls will not be used on filesystems that are known to contain files with generated content. These system calls are incompatible with such files, and copying them would result in zero-sized files. The generic read/write loop will be used instead. Currently, the blacklisted filesystems are: procfs, sysfs, tracefs and debugfs. In the copy_file implementation based on read/write loop, increased the maximum size of the buffer used for temporary storage and take into account the target filesystem block size for more optimal performance. On Windows CE, calling current_path to obtain the current path for a process will now fail with an error instead of returning successfully with a root path. This platform does not support current directory. Changing the current path was already failing similarly in previous releases of Boost.Filesystem. In canonical, fixed the check for a symlink referencing a directory above root, if an earlier symlink was resolved to an absolute path with a different root from the original path. In canonical, added a limit for the maximum number of symlinks that can be resolved during the call. The limit is currently at least 40 symlinks. On Windows, canonical and weakly_canonical will now use path::preferred_separator for the root directory separator in the resulting paths. This fixes "file not found" errors caused by Windows API not handling generic separators in UNC paths and paths that start with the Win32 filesystem prefix ("\?"). (#87, #187) New: Added weakly_canonical overloads taking base path as an argument. On Windows, weakly_canonical no longer fails with an error if the input path contains elements that do not exist in the filesystem but are cancelled by a subsequent dot-dot ("..") element. For example, weakly_canonical("C:\\a\\..") would previously fail if "C:\a" directory did not exist. (#201) In read_symlink on Windows, corrected reparse point handling. The operation would return an empty path for some mount points (for example, created by Box cloud storage driver) and directory junction points that had empty print names. The new implementation now parses substitute name of the reparse point and attempts to reconstruct a Win32 path from it. (#187) On Windows, file streams provided in boost/filesystem/fstream.hpp will use wide character paths on libc++ versions 7.0 and higher, when the standard library supports opening files with wide character paths. (#181) On Windows, creating symlinks should no longer require elevated privileges, if Windows is configured in Developer mode. With some compilers, global objects used internally in Boost.Filesystem are now destroyed after user's global destructors are called. This allows to call Boost.Filesystem methods during the program termination stage. In particular, this concerns the path locale that is used for character code conversion and can be installed by calling path::imbue. The supported compilers include MSVC, GCC and Clang, as well as other compilers that support customizing program initialization order through #pragma section (for MSVC-compatible compilers) or __attribute__ ((init_priority)) (for GCC-compatible compilers). JSON: value_to supports TupleLike types. value_to and value_from support std::array and similar types. Implicit conversion operator from string to std::string_view. std::hash specializations for json types. Fixed allocation errors in object and key_value_pair. Fixed crash when constructing array from a pair of iterators that form an empty range. LexicalCast: Fixed assignment to an int of a floating point value that is out of representable range for int. Started using GithubActions CI for additional testing Log: Fixed compilation for riscv32 target. (PR#150) Mp11: Added mp_intersperse, mp_split, mp_join Multi-index Containers: Maintenance work. PFR: A MurMur Hash based implementation of hash_combine() is now used to reduce collisions count and improve quality of boost::pfr::hash_value() Visual Studio 2017 now supported in C++14 mode (thanks to Denis Mikhailov aka @denzor200) Issues found by inspect tool were fixed Fixed some warnings, including removal of extra semicolons in include/boost/pfr/detail/fields_count.hpp (#72) Added a compile time assert for inherited types (thanks to Denis Mikhailov aka @denzor200) Reflection of aggregates with non movable fields is now possible if guaranteed copy elision is on Fixed spelling issues Started using GithubActions CI for additional testing PropertyTree: This is a maintenance release. Extend compiler coverage in CI. Fix Boost compatibility for CMakeLists.txt. System: The conversion operator from error_category to std::error_category has been improved and no longer requires <map> or <mutex>. The comparison operators of error_category are now inline friends instead of member functions (a side effect of the previous change.) error_condition now defers calling generic_category() to avoid instantiating the object until it's actually needed. error_condition::failed and error_condition::message have been undeprecated, and operator bool() now once again returns failed(). The system category now doesn't call generic_category(), to avoid instantiating the object. The return value of default_error_condition changes in some cases into an error_condition from the generic category, instead of from the system category. This happens on POSIX when the input error_code is from the system category and does not correspond to any errc_t value. The interoperability of error_code and std::error_code has been improved substantially. It is now possible to construct boost::system::error_code from std::error_code, and it's possible to pass boost::system::error_code to functions taking std::error_code&. A stream insertion operator for error_condition has been added. Uuid: Added to_chars for writing uuid strings without allocating (PR#116) Updated Tools Build: Includes release of B2 version 4.6.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 12.0.0 Clang, C++11: 3.4, 11.0.0 Clang, C++14: 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0, 12.0.0 Clang, C++17: 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0 Clang, C++20: 11.0.0, 12.0.0, 13.0.0 GCC: 4.6.3, 11 GCC, C++11: 4.7.3, 4.8.5, 11 GCC, C++14: 5.4.0, 6.4.0, 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++17: 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++20: 8.0.1, 9.1.0, 10, 11 OS X: Apple Clang: 11.0.3 Apple Clang, C++11: 11.0.3 Apple Clang, C++14: 11.0.3 Apple Clang, C++17: 11.0.3 Apple Clang, C++20: 11.0.3 Windows: Visual C++: 10.0, 11.0, 12.0, 14.0, 14.1, 14.2 Boost's additional test compilers include: Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted almost 4 years ago
New Libraries Describe: A C++14 reflection library, from Peter Dimov. Provides macros for describing enumerators and struct/class members, and primitives for querying this information. ... [More] Lambda2: A C++14, dependency-free, single header lambda library, from Peter Dimov. Allows simple function objects to be constructed via expressions such as _1 + 5, _1 % 2 == 0, _1 > _2, or _1 == ' ' || _1 == '\t'. Updated Libraries Any: Added boost::anys::basic_any - a data type with customizable Small Object Optimization whose instances can hold instances of any type that satisfies ValueType requirements (many thanks to Ruslan Arutyunyan @rarutyun). If you are not sure that you really need it, then use boost::any instead. Started using GithubActions CI for additional testing Asio: Added support for cancellation of individual asynchronous operations. Added the associator trait, used to generically forward associators. Changed all asynchronous operations implemented in Asio to invoke their completion handlers as rvalue references. Added support for asynchronous operations with multiple completion signatures. Added operator&& and operator|| for awaitable<>, to allow coroutines to be trivially awaited in parallel. Added the experimental::as_tuple completion token adapter. Added the experimental::append completion token adapter. Added the experimental::prepend completion token adapter. Added the experimental::deferred completion token, whicih allows deferred execution of asynchronous operations. Added the experimental::parallel_group class and experimental::make_parallel_group function. Added experimental::promise, which allows eager execution and synchronisation of asynchronous operations. Added the experimental::coro class template, a C++20 coroutine primitive with the ability to combine both asynchronous waiting (co_await) and yielding (co_yield). Added move assignment to ssl::stream<>. Changed co_spawn to dispatch the coroutine's initial step to the executor. Enabled additional optimisations for any_executor and any_io_executor when used with asynchronous operations. Added the nodiscard attribute to awaitable<>. Increased the number of cached slots in the default recycling allocator. Changed the default allocator behaviour to respect alignment requirements, to support over-aligned types. Ensured the result strings are always initialised in reverse name resolution. Fixed recursive template instantiation issues in use_awaitable_t::executor_with_default. Fixed the any_io_executor equality operators to correctly return a result based on the target executor. Fixed strand<> to avoid using a potentially moved-from executor. Ensured gcc tests are not used for clang when detecting compiler features. Disabled coroutines support for the clang shipped with MSVC. Fixed compatibility with recent LibreSSL when OPENSSL_NO_SSL_INTERN is defined. Fixed posix::basic_stream_descriptor move operations to work with non-defaulted executors. Consult the Revision History for further details. Atomic: Added make_atomic_ref and make_ipc_atomic_ref factory functions for constructing atomic reference objects. Added C++17 template argument deduction guides for atomic_ref and ipc_atomic_ref to allow omitting template arguments when they can be deduced from constructor arguments. Beast: This maintenance update brings minor bug fixes and updated CI reporting. 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. Conversion: boost::implicit_cast is now constexpr (#25). Fixed broken links (PR#23). Started using GithubActions CI for additional testing Core: boost/core/uncaught_exceptions.hpp has been modified for compatibility with Mac OS 10.4 and older. (PR#92) DLL: More runtime checks for malformed ELFs in boost::dll::library_info In boost::dll::library_info use info from .dynsym ELF section if .symtab is empty or missing List protected ELF symbols in boost::dll::library_info as they are available for import (#50) Remove unneeded convert from wchar_t to char on POSIX environment, thanks to Vladislav Shchapov (PR#49) Started using GithubAction CI for additional testing Filesystem: Introducing Boost.Filesystem v4. This new version of the library removes all deprecated features of v3 and also makes a number of breaking API changes intended to make Boost.Filesystem more compatible with std::filesystem introduced in C++17. The differences are described in the release notes and documentation using v3 and v4 tags and are also summarised in a separate section. Users can select Boost.Filesystem version by defining BOOST_FILESYSTEM_VERSION macro to either 3 or 4 when compiling their code. There is no need to separately compile Boost.Filesystem for each library version - a single binary supports both v3 and v4. Users should avoid using both v3 and v4 in the same application as this can lead to subtle bugs. Currently, v3 is the default. In a future release v4 will become the default, and eventually v3 will be removed. v4 is functional, but it is still a work in progress and there may be breaking API changes in the future. v4: path::filename, path::stem and path::extension no longer consider root name or root directory of the path as a filename if the path only consists of those components. For example, on Windows path("C:").filename() used to return "C:" and path("C:\\").filename() used to return "\" and both will return an empty path now. (#88, #194) v4: path::stem and path::extension no longer treat a filename that starts with a dot and has no other dots as an extension. Filenames starting with a dot are commonly treated as filenames with an empty extension. The leading dot is used to indicate a hidden file on most UNIX-like systems. (#88) New: Improved support for various path prefixes on Windows. Added support for local device prefix ("\\.\") and experimental support for NT path prefix ("\??\"). The prefixes will be included in the root name of a path. Note that using the prefixes with Boost.Filesystem v3 can lead to surprising results (e.g. path("\\\\.\\").stem() == "\\\\"). It is recommended to use the prefixes only with Boost.Filesystem v4. Reworked path::lexically_normal implementation to eliminate some cases of duplicate dot (".") elements in the normalized paths. New: Added runtime detection of the statx and getrandom system calls on Linux. This can be useful if the syscall is present at compile time but fails with ENOSYS at run time (for example, in Docker containers that restrict the syscall, even if available on the host). (#172) New: Added support for disabling usage of various system APIs at library build time. This can be useful when a certain API is detected as present by the library configuration scripts but must not be used for some reason (for example, when runtime detection does not work on the target system). See the description of configuration macros in the library documentationfor for more details. New: Added copy_options::synchronize_data and copy_options::synchronize options for the copy_file operation. These options allow to synchronize the written data and attributes with the permanent storage. These options are expensive in terms of performance, but allow to ensure reliability of the copied data. Note that copy_file performed implicit data synchronization on POSIX systems since Boost.Filesystem 1.74.0. This release adds support for more platforms and disables data synchronization by default while allowing the caller to explicitly request it. (#186) Added handling of EINTR error code on POSIX systems for some system calls issued internally. In particular, EINTR could have been ignored on close, which on HP-UX would result in a leaked file descriptor. In the copy_file implementations based on Linux sendfile and copy_file_range system calls, added handling of error codes indicating that a particular filesystem does not support the system call and fall back to the generic read/write loop. This should fix copy_file failing on eCryptFS and possibly other filesystems. (#184) The copy_file_range system call is now used since Linux kernel 4.5, whereas previously it was only enabled since 5.3. The copy_file implementation will fall back to sendfile or read/write loop if copy_file_range fails to copy a given file across filesystems. The copy_file implementations based on Linux sendfile and copy_file_range system calls will not be used on filesystems that are known to contain files with generated content. These system calls are incompatible with such files, and copying them would result in zero-sized files. The generic read/write loop will be used instead. Currently, the blacklisted filesystems are: procfs, sysfs, tracefs and debugfs. In the copy_file implementation based on read/write loop, increased the maximum size of the buffer used for temporary storage and take into account the target filesystem block size for more optimal performance. On Windows CE, calling current_path to obtain the current path for a process will now fail with an error instead of returning successfully with a root path. This platform does not support current directory. Changing the current path was already failing similarly in previous releases of Boost.Filesystem. In canonical, fixed the check for a symlink referencing a directory above root, if an earlier symlink was resolved to an absolute path with a different root from the original path. In canonical, added a limit for the maximum number of symlinks that can be resolved during the call. The limit is currently at least 40 symlinks. On Windows, canonical and weakly_canonical will now use path::preferred_separator for the root directory separator in the resulting paths. This fixes "file not found" errors caused by Windows API not handling generic separators in UNC paths and paths that start with the Win32 filesystem prefix ("\\?\"). (#87, #187) New: Added weakly_canonical overloads taking base path as an argument. On Windows, weakly_canonical no longer fails with an error if the input path contains elements that do not exist in the filesystem but are cancelled by a subsequent dot-dot ("..") element. For example, weakly_canonical("C:\\a\\..") would previously fail if "C:\a" directory did not exist. (#201) In read_symlink on Windows, corrected reparse point handling. The operation would return an empty path for some mount points (for example, created by Box cloud storage driver) and directory junction points that had empty print names. The new implementation now parses substitute name of the reparse point and attempts to reconstruct a Win32 path from it. (#187) On Windows, file streams provided in boost/filesystem/fstream.hpp will use wide character paths on libc++ versions 7.0 and higher, when the standard library supports opening files with wide character paths. (#181) On Windows, creating symlinks should no longer require elevated privileges, if Windows is configured in Developer mode. With some compilers, global objects used internally in Boost.Filesystem are now destroyed after user's global destructors are called. This allows to call Boost.Filesystem methods during the program termination stage. In particular, this concerns the path locale that is used for character code conversion and can be installed by calling path::imbue. The supported compilers include MSVC, GCC and Clang, as well as other compilers that support customizing program initialization order through #pragma section (for MSVC-compatible compilers) or __attribute__ ((init_priority)) (for GCC-compatible compilers). JSON: value_to supports TupleLike types. value_to and value_from support std::array and similar types. Implicit conversion operator from string to std::string_view. std::hash specializations for json types. Fixed allocation errors in object and key_value_pair. Fixed crash when constructing array from a pair of iterators that form an empty range. LexicalCast: Fixed assignment to an int of a floating point value that is out of representable range for int. Started using GithubActions CI for additional testing Log: Fixed compilation for riscv32 target. (PR#150) Mp11: Added mp_intersperse, mp_split, mp_join Multi-index Containers: Maintenance work. PFR: A MurMur Hash based implementation of hash_combine() is now used to reduce collisions count and improve quality of boost::pfr::hash_value() Visual Studio 2017 now supported in C++14 mode (thanks to Denis Mikhailov aka @denzor200) Issues found by inspect tool were fixed Fixed some warnings, including removal of extra semicolons in include/boost/pfr/detail/fields_count.hpp (#72) Added a compile time assert for inherited types (thanks to Denis Mikhailov aka @denzor200) Reflection of aggregates with non movable fields is now possible if guaranteed copy elision is on Fixed spelling issues Started using GithubActions CI for additional testing PropertyTree: This is a maintenance release. Extend compiler coverage in CI. Fix Boost compatibility for CMakeLists.txt. System: The conversion operator from error_category to std::error_category has been improved and no longer requires <map> or <mutex>. The comparison operators of error_category are now inline friends instead of member functions (a side effect of the previous change.) error_condition now defers calling generic_category() to avoid instantiating the object until it's actually needed. error_condition::failed and error_condition::message have been undeprecated, and operator bool() now once again returns failed(). The system category now doesn't call generic_category(), to avoid instantiating the object. The return value of default_error_condition changes in some cases into an error_condition from the generic category, instead of from the system category. This happens on POSIX when the input error_code is from the system category and does not correspond to any errc_t value. The interoperability of error_code and std::error_code has been improved substantially. It is now possible to construct boost::system::error_code from std::error_code, and it's possible to pass boost::system::error_code to functions taking std::error_code&. A stream insertion operator for error_condition has been added. Uuid: Added to_chars for writing uuid strings without allocating (PR#116) Updated Tools Build: Includes release of B2 version 4.6.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 12.0.0 Clang, C++11: 3.4, 11.0.0 Clang, C++14: 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0, 12.0.0 Clang, C++17: 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0 Clang, C++20: 11.0.0, 12.0.0, 13.0.0 GCC: 4.6.3, 11 GCC, C++11: 4.7.3, 4.8.5, 11 GCC, C++14: 5.4.0, 6.4.0, 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++17: 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++20: 8.0.1, 9.1.0, 10, 11 OS X: Apple Clang: 11.0.3 Apple Clang, C++11: 11.0.3 Apple Clang, C++14: 11.0.3 Apple Clang, C++17: 11.0.3 Apple Clang, C++20: 11.0.3 Windows: Visual C++: 10.0, 11.0, 12.0, 14.0, 14.1, 14.2 Boost's additional test compilers include: Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted almost 4 years ago
New Libraries Describe: A C++14 reflection library, from Peter Dimov. Provides macros for describing enumerators and struct/class members, and primitives for querying this information. ... [More] Lambda2: A C++14, dependency-free, single header lambda library, from Peter Dimov. Allows simple function objects to be constructed via expressions such as _1 + 5, _1 % 2 == 0, _1 > _2, or _1 == ' ' || _1 == '\t'. Updated Libraries Any: Added boost::anys::basic_any - a data type with customizable Small Object Optimization whose instances can hold instances of any type that satisfies ValueType requirements (many thanks to Ruslan Arutyunyan @rarutyun). If you are not sure that you really need it, then use boost::any instead. Started using GithubActions CI for additional testing Asio: Added support for cancellation of individual asynchronous operations. Added the associator trait, used to generically forward associators. Changed all asynchronous operations implemented in Asio to invoke their completion handlers as rvalue references. Added support for asynchronous operations with multiple completion signatures. Added operator&& and operator|| for awaitable<>, to allow coroutines to be trivially awaited in parallel. Added the experimental::as_tuple completion token adapter. Added the experimental::append completion token adapter. Added the experimental::prepend completion token adapter. Added the experimental::deferred completion token, whicih allows deferred execution of asynchronous operations. Added the experimental::parallel_group class and experimental::make_parallel_group function. Added experimental::promise, which allows eager execution and synchronisation of asynchronous operations. Added the experimental::coro class template, a C++20 coroutine primitive with the ability to combine both asynchronous waiting (co_await) and yielding (co_yield). Added move assignment to ssl::stream<>. Changed co_spawn to dispatch the coroutine's initial step to the executor. Enabled additional optimisations for any_executor and any_io_executor when used with asynchronous operations. Added the nodiscard attribute to awaitable<>. Increased the number of cached slots in the default recycling allocator. Changed the default allocator behaviour to respect alignment requirements, to support over-aligned types. Ensured the result strings are always initialised in reverse name resolution. Fixed recursive template instantiation issues in use_awaitable_t::executor_with_default. Fixed the any_io_executor equality operators to correctly return a result based on the target executor. Fixed strand<> to avoid using a potentially moved-from executor. Ensured gcc tests are not used for clang when detecting compiler features. Disabled coroutines support for the clang shipped with MSVC. Fixed compatibility with recent LibreSSL when OPENSSL_NO_SSL_INTERN is defined. Fixed posix::basic_stream_descriptor move operations to work with non-defaulted executors. Consult the Revision History for further details. Atomic: Added make_atomic_ref and make_ipc_atomic_ref factory functions for constructing atomic reference objects. Added C++17 template argument deduction guides for atomic_ref and ipc_atomic_ref to allow omitting template arguments when they can be deduced from constructor arguments. Beast: This maintenance update brings minor bug fixes and updated CI reporting. 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. Conversion: boost::implicit_cast is now constexpr (#25). Fixed broken links (PR#23). Started using GithubActions CI for additional testing Core: boost/core/uncaught_exceptions.hpp has been modified for compatibility with Mac OS 10.4 and older. (PR#92) DLL: More runtime checks for malformed ELFs in boost::dll::library_info In boost::dll::library_info use info from .dynsym ELF section if .symtab is empty or missing List protected ELF symbols in boost::dll::library_info as they are available for import (#50) Remove unneeded convert from wchar_t to char on POSIX environment, thanks to Vladislav Shchapov (PR#49) Started using GithubAction CI for additional testing Filesystem: Introducing Boost.Filesystem v4. This new version of the library removes all deprecated features of v3 and also makes a number of breaking API changes intended to make Boost.Filesystem more compatible with std::filesystem introduced in C++17. The differences are described in the release notes and documentation using v3 and v4 tags and are also summarised in a separate section. Users can select Boost.Filesystem version by defining BOOST_FILESYSTEM_VERSION macro to either 3 or 4 when compiling their code. There is no need to separately compile Boost.Filesystem for each library version - a single binary supports both v3 and v4. Users should avoid using both v3 and v4 in the same application as this can lead to subtle bugs. Currently, v3 is the default. In a future release v4 will become the default, and eventually v3 will be removed. v4 is functional, but it is still a work in progress and there may be breaking API changes in the future. v4: path::filename, path::stem and path::extension no longer consider root name or root directory of the path as a filename if the path only consists of those components. For example, on Windows path("C:").filename() used to return "C:" and path("C:\\").filename() used to return "\" and both will return an empty path now. (#88, #194) v4: path::stem and path::extension no longer treat a filename that starts with a dot and has no other dots as an extension. Filenames starting with a dot are commonly treated as filenames with an empty extension. The leading dot is used to indicate a hidden file on most UNIX-like systems. (#88) New: Improved support for various path prefixes on Windows. Added support for local device prefix ("\\.\") and experimental support for NT path prefix ("\??\"). The prefixes will be included in the root name of a path. Note that using the prefixes with Boost.Filesystem v3 can lead to surprising results (e.g. path("\\\\.\\").stem() == "\\\\"). It is recommended to use the prefixes only with Boost.Filesystem v4. Reworked path::lexically_normal implementation to eliminate some cases of duplicate dot (".") elements in the normalized paths. New: Added runtime detection of the statx and getrandom system calls on Linux. This can be useful if the syscall is present at compile time but fails with ENOSYS at run time (for example, in Docker containers that restrict the syscall, even if available on the host). (#172) New: Added support for disabling usage of various system APIs at library build time. This can be useful when a certain API is detected as present by the library configuration scripts but must not be used for some reason (for example, when runtime detection does not work on the target system). See the description of configuration macros in the library documentationfor for more details. New: Added copy_options::synchronize_data and copy_options::synchronize options for the copy_file operation. These options allow to synchronize the written data and attributes with the permanent storage. These options are expensive in terms of performance, but allow to ensure reliability of the copied data. Note that copy_file performed implicit data synchronization on POSIX systems since Boost.Filesystem 1.74.0. This release adds support for more platforms and disables data synchronization by default while allowing the caller to explicitly request it. (#186) Added handling of EINTR error code on POSIX systems for some system calls issued internally. In particular, EINTR could have been ignored on close, which on HP-UX would result in a leaked file descriptor. In the copy_file implementations based on Linux sendfile and copy_file_range system calls, added handling of error codes indicating that a particular filesystem does not support the system call and fall back to the generic read/write loop. This should fix copy_file failing on eCryptFS and possibly other filesystems. (#184) The copy_file_range system call is now used since Linux kernel 4.5, whereas previously it was only enabled since 5.3. The copy_file implementation will fall back to sendfile or read/write loop if copy_file_range fails to copy a given file across filesystems. The copy_file implementations based on Linux sendfile and copy_file_range system calls will not be used on filesystems that are known to contain files with generated content. These system calls are incompatible with such files, and copying them would result in zero-sized files. The generic read/write loop will be used instead. Currently, the blacklisted filesystems are: procfs, sysfs, tracefs and debugfs. In the copy_file implementation based on read/write loop, increased the maximum size of the buffer used for temporary storage and take into account the target filesystem block size for more optimal performance. On Windows CE, calling current_path to obtain the current path for a process will now fail with an error instead of returning successfully with a root path. This platform does not support current directory. Changing the current path was already failing similarly in previous releases of Boost.Filesystem. In canonical, fixed the check for a symlink referencing a directory above root, if an earlier symlink was resolved to an absolute path with a different root from the original path. In canonical, added a limit for the maximum number of symlinks that can be resolved during the call. The limit is currently at least 40 symlinks. On Windows, canonical and weakly_canonical will now use path::preferred_separator for the root directory separator in the resulting paths. This fixes "file not found" errors caused by Windows API not handling generic separators in UNC paths and paths that start with the Win32 filesystem prefix ("\\?\"). (#87, #187) New: Added weakly_canonical overloads taking base path as an argument. On Windows, weakly_canonical no longer fails with an error if the input path contains elements that do not exist in the filesystem but are cancelled by a subsequent dot-dot ("..") element. For example, weakly_canonical("C:\\a\\..") would previously fail if "C:\a" directory did not exist. (#201) In read_symlink on Windows, corrected reparse point handling. The operation would return an empty path for some mount points (for example, created by Box cloud storage driver) and directory junction points that had empty print names. The new implementation now parses substitute name of the reparse point and attempts to reconstruct a Win32 path from it. (#187) On Windows, file streams provided in boost/filesystem/fstream.hpp will use wide character paths on libc++ versions 7.0 and higher, when the standard library supports opening files with wide character paths. (#181) On Windows, creating symlinks should no longer require elevated privileges, if Windows is configured in Developer mode. With some compilers, global objects used internally in Boost.Filesystem are now destroyed after user's global destructors are called. This allows to call Boost.Filesystem methods during the program termination stage. In particular, this concerns the path locale that is used for character code conversion and can be installed by calling path::imbue. The supported compilers include MSVC, GCC and Clang, as well as other compilers that support customizing program initialization order through #pragma section (for MSVC-compatible compilers) or __attribute__ ((init_priority)) (for GCC-compatible compilers). Geometry: Improvements PR#812 Umbrella strategies for distance and comparable_distance (undocumented for now). PR#840 Umbrella strategies for various algorithms (undocumented for now). PR#850 Introduced DynamicGeometry and GeometryCollection concepts and support in some algorithms (undocumented for now). PR#855 Various improvements related to strategies. Default strategies are now included with algorithms. Solved issues #865 Exception thrown in rtree serialization. #439 Invalid box spherical area computation. #838 Invalid result of union_(). #851 Invalid geographic disjoint segment/box result. #861 Invalid result of intersection(). Bugfixes PR#832 Fixed box spherical and geographic area computation. PR#853 Fixed geographic disjoint segment/box. PR#866 Fixed serialization of rtree containing lesser number of elements in root node than minimum. PR#886 Fixed knn rtree query bug causing it to be slow for big k. Various fixes in set operations and buffer. JSON: value_to supports TupleLike types. value_to and value_from support std::array and similar types. Implicit conversion operator from string to std::string_view. std::hash specializations for json types. Fixed allocation errors in object and key_value_pair. Fixed crash when constructing array from a pair of iterators that form an empty range. LexicalCast: Fixed assignment to an int of a floating point value that is out of representable range for int. Started using GithubActions CI for additional testing Log: Fixed compilation for riscv32 target. (PR#150) Mp11: Added mp_intersperse, mp_split, mp_join Multi-index Containers: Maintenance work. PFR: A MurMur Hash based implementation of hash_combine() is now used to reduce collisions count and improve quality of boost::pfr::hash_value() Visual Studio 2017 now supported in C++14 mode (thanks to Denis Mikhailov aka @denzor200) Issues found by inspect tool were fixed Fixed some warnings, including removal of extra semicolons in include/boost/pfr/detail/fields_count.hpp (#72) Added a compile time assert for inherited types (thanks to Denis Mikhailov aka @denzor200) Reflection of aggregates with non movable fields is now possible if guaranteed copy elision is on Fixed spelling issues Started using GithubActions CI for additional testing PropertyTree: This is a maintenance release. Extend compiler coverage in CI. Fix Boost compatibility for CMakeLists.txt. System: The conversion operator from error_category to std::error_category has been improved and no longer requires <map> or <mutex>. The comparison operators of error_category are now inline friends instead of member functions (a side effect of the previous change.) error_condition now defers calling generic_category() to avoid instantiating the object until it's actually needed. error_condition::failed and error_condition::message have been undeprecated, and operator bool() now once again returns failed(). The system category now doesn't call generic_category(), to avoid instantiating the object. The return value of default_error_condition changes in some cases into an error_condition from the generic category, instead of from the system category. This happens on POSIX when the input error_code is from the system category and does not correspond to any errc_t value. The interoperability of error_code and std::error_code has been improved substantially. It is now possible to construct boost::system::error_code from std::error_code, and it's possible to pass boost::system::error_code to functions taking std::error_code&. A stream insertion operator for error_condition has been added. Uuid: Added to_chars for writing uuid strings without allocating (PR#116) Updated Tools Build: Includes release of B2 version 4.6.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 12.0.0 Clang, C++11: 3.4, 11.0.0 Clang, C++14: 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0, 12.0.0 Clang, C++17: 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0 Clang, C++20: 11.0.0, 12.0.0, 13.0.0 GCC: 4.6.3, 11 GCC, C++11: 4.7.3, 4.8.5, 11 GCC, C++14: 5.4.0, 6.4.0, 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++17: 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++20: 8.0.1, 9.1.0, 10, 11 OS X: Apple Clang: 11.0.3 Apple Clang, C++11: 11.0.3 Apple Clang, C++14: 11.0.3 Apple Clang, C++17: 11.0.3 Apple Clang, C++20: 11.0.3 Windows: Visual C++: 10.0, 11.0, 12.0, 14.0, 14.1, 14.2 Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted almost 4 years ago
New Libraries Describe: A C++14 reflection library, from Peter Dimov. Provides macros for describing enumerators and struct/class members, and primitives for querying this information. ... [More] Lambda2: A C++14, dependency-free, single header lambda library, from Peter Dimov. Allows simple function objects to be constructed via expressions such as _1 + 5, _1 % 2 == 0, _1 > _2, or _1 == ' ' || _1 == '\t'. Updated Libraries Any: Added boost::anys::basic_any - a data type with customizable Small Object Optimization whose instances can hold instances of any type that satisfies ValueType requirements (many thanks to Ruslan Arutyunyan @rarutyun). If you are not sure that you really need it, then use boost::any instead. Started using GithubActions CI for additional testing Asio: Added support for cancellation of individual asynchronous operations. Added the associator trait, used to generically forward associators. Changed all asynchronous operations implemented in Asio to invoke their completion handlers as rvalue references. Added support for asynchronous operations with multiple completion signatures. Added operator&& and operator|| for awaitable<>, to allow coroutines to be trivially awaited in parallel. Added the experimental::as_tuple completion token adapter. Added the experimental::append completion token adapter. Added the experimental::prepend completion token adapter. Added the experimental::deferred completion token, whicih allows deferred execution of asynchronous operations. Added the experimental::parallel_group class and experimental::make_parallel_group function. Added experimental::promise, which allows eager execution and synchronisation of asynchronous operations. Added the experimental::coro class template, a C++20 coroutine primitive with the ability to combine both asynchronous waiting (co_await) and yielding (co_yield). Added move assignment to ssl::stream<>. Changed co_spawn to dispatch the coroutine's initial step to the executor. Enabled additional optimisations for any_executor and any_io_executor when used with asynchronous operations. Added the nodiscard attribute to awaitable<>. Increased the number of cached slots in the default recycling allocator. Changed the default allocator behaviour to respect alignment requirements, to support over-aligned types. Ensured the result strings are always initialised in reverse name resolution. Fixed recursive template instantiation issues in use_awaitable_t::executor_with_default. Fixed the any_io_executor equality operators to correctly return a result based on the target executor. Fixed strand<> to avoid using a potentially moved-from executor. Ensured gcc tests are not used for clang when detecting compiler features. Disabled coroutines support for the clang shipped with MSVC. Fixed compatibility with recent LibreSSL when OPENSSL_NO_SSL_INTERN is defined. Fixed posix::basic_stream_descriptor move operations to work with non-defaulted executors. Consult the Revision History for further details. Atomic: Added make_atomic_ref and make_ipc_atomic_ref factory functions for constructing atomic reference objects. Added C++17 template argument deduction guides for atomic_ref and ipc_atomic_ref to allow omitting template arguments when they can be deduced from constructor arguments. Beast: This maintenance update brings minor bug fixes and updated CI reporting. 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. Conversion: boost::implicit_cast is now constexpr (#25). Fixed broken links (PR#23). Started using GithubActions CI for additional testing Core: boost/core/uncaught_exceptions.hpp has been modified for compatibility with Mac OS 10.4 and older. (PR#92) DLL: More runtime checks for malformed ELFs in boost::dll::library_info In boost::dll::library_info use info from .dynsym ELF section if .symtab is empty or missing List protected ELF symbols in boost::dll::library_info as they are available for import (#50) Remove unneeded convert from wchar_t to char on POSIX environment, thanks to Vladislav Shchapov (PR#49) Started using GithubAction CI for additional testing Filesystem: Introducing Boost.Filesystem v4. This new version of the library removes all deprecated features of v3 and also makes a number of breaking API changes intended to make Boost.Filesystem more compatible with std::filesystem introduced in C++17. The differences are described in the release notes and documentation using v3 and v4 tags and are also summarised in a separate section. Users can select Boost.Filesystem version by defining BOOST_FILESYSTEM_VERSION macro to either 3 or 4 when compiling their code. There is no need to separately compile Boost.Filesystem for each library version - a single binary supports both v3 and v4. Users should avoid using both v3 and v4 in the same application as this can lead to subtle bugs. Currently, v3 is the default. In a future release v4 will become the default, and eventually v3 will be removed. v4 is functional, but it is still a work in progress and there may be breaking API changes in the future. v4: path::filename, path::stem and path::extension no longer consider root name or root directory of the path as a filename if the path only consists of those components. For example, on Windows path("C:").filename() used to return "C:" and path("C:\\").filename() used to return "\" and both will return an empty path now. (#88, #194) v4: path::stem and path::extension no longer treat a filename that starts with a dot and has no other dots as an extension. Filenames starting with a dot are commonly treated as filenames with an empty extension. The leading dot is used to indicate a hidden file on most UNIX-like systems. (#88) New: Improved support for various path prefixes on Windows. Added support for local device prefix ("\\.\") and experimental support for NT path prefix ("\??\"). The prefixes will be included in the root name of a path. Note that using the prefixes with Boost.Filesystem v3 can lead to surprising results (e.g. path("\\\\.\\").stem() == "\\\\"). It is recommended to use the prefixes only with Boost.Filesystem v4. Reworked path::lexically_normal implementation to eliminate some cases of duplicate dot (".") elements in the normalized paths. New: Added runtime detection of the statx and getrandom system calls on Linux. This can be useful if the syscall is present at compile time but fails with ENOSYS at run time (for example, in Docker containers that restrict the syscall, even if available on the host). (#172) New: Added support for disabling usage of various system APIs at library build time. This can be useful when a certain API is detected as present by the library configuration scripts but must not be used for some reason (for example, when runtime detection does not work on the target system). See the description of configuration macros in the library documentationfor for more details. New: Added copy_options::synchronize_data and copy_options::synchronize options for the copy_file operation. These options allow to synchronize the written data and attributes with the permanent storage. These options are expensive in terms of performance, but allow to ensure reliability of the copied data. Note that copy_file performed implicit data synchronization on POSIX systems since Boost.Filesystem 1.74.0. This release adds support for more platforms and disables data synchronization by default while allowing the caller to explicitly request it. (#186) Added handling of EINTR error code on POSIX systems for some system calls issued internally. In particular, EINTR could have been ignored on close, which on HP-UX would result in a leaked file descriptor. In the copy_file implementations based on Linux sendfile and copy_file_range system calls, added handling of error codes indicating that a particular filesystem does not support the system call and fall back to the generic read/write loop. This should fix copy_file failing on eCryptFS and possibly other filesystems. (#184) The copy_file_range system call is now used since Linux kernel 4.5, whereas previously it was only enabled since 5.3. The copy_file implementation will fall back to sendfile or read/write loop if copy_file_range fails to copy a given file across filesystems. The copy_file implementations based on Linux sendfile and copy_file_range system calls will not be used on filesystems that are known to contain files with generated content. These system calls are incompatible with such files, and copying them would result in zero-sized files. The generic read/write loop will be used instead. Currently, the blacklisted filesystems are: procfs, sysfs, tracefs and debugfs. In the copy_file implementation based on read/write loop, increased the maximum size of the buffer used for temporary storage and take into account the target filesystem block size for more optimal performance. On Windows CE, calling current_path to obtain the current path for a process will now fail with an error instead of returning successfully with a root path. This platform does not support current directory. Changing the current path was already failing similarly in previous releases of Boost.Filesystem. In canonical, fixed the check for a symlink referencing a directory above root, if an earlier symlink was resolved to an absolute path with a different root from the original path. In canonical, added a limit for the maximum number of symlinks that can be resolved during the call. The limit is currently at least 40 symlinks. On Windows, canonical and weakly_canonical will now use path::preferred_separator for the root directory separator in the resulting paths. This fixes "file not found" errors caused by Windows API not handling generic separators in UNC paths and paths that start with the Win32 filesystem prefix ("\\?\"). (#87, #187) New: Added weakly_canonical overloads taking base path as an argument. On Windows, weakly_canonical no longer fails with an error if the input path contains elements that do not exist in the filesystem but are cancelled by a subsequent dot-dot ("..") element. For example, weakly_canonical("C:\\a\\..") would previously fail if "C:\a" directory did not exist. (#201) In read_symlink on Windows, corrected reparse point handling. The operation would return an empty path for some mount points (for example, created by Box cloud storage driver) and directory junction points that had empty print names. The new implementation now parses substitute name of the reparse point and attempts to reconstruct a Win32 path from it. (#187) On Windows, file streams provided in boost/filesystem/fstream.hpp will use wide character paths on libc++ versions 7.0 and higher, when the standard library supports opening files with wide character paths. (#181) On Windows, creating symlinks should no longer require elevated privileges, if Windows is configured in Developer mode. With some compilers, global objects used internally in Boost.Filesystem are now destroyed after user's global destructors are called. This allows to call Boost.Filesystem methods during the program termination stage. In particular, this concerns the path locale that is used for character code conversion and can be installed by calling path::imbue. The supported compilers include MSVC, GCC and Clang, as well as other compilers that support customizing program initialization order through #pragma section (for MSVC-compatible compilers) or __attribute__ ((init_priority)) (for GCC-compatible compilers). JSON: value_to supports TupleLike types. value_to and value_from support std::array and similar types. Implicit conversion operator from string to std::string_view. std::hash specializations for json types. Fixed allocation errors in object and key_value_pair. Fixed crash when constructing array from a pair of iterators that form an empty range. LexicalCast: Fixed assignment to an int of a floating point value that is out of representable range for int. Started using GithubActions CI for additional testing Log: Fixed compilation for riscv32 target. (PR#150) Mp11: Added mp_intersperse, mp_split, mp_join Multi-index Containers: Maintenance work. PFR: A MurMur Hash based implementation of hash_combine() is now used to reduce collisions count and improve quality of boost::pfr::hash_value() Visual Studio 2017 now supported in C++14 mode (thanks to Denis Mikhailov aka @denzor200) Issues found by inspect tool were fixed Fixed some warnings, including removal of extra semicolons in include/boost/pfr/detail/fields_count.hpp (#72) Added a compile time assert for inherited types (thanks to Denis Mikhailov aka @denzor200) Reflection of aggregates with non movable fields is now possible if guaranteed copy elision is on Fixed spelling issues Started using GithubActions CI for additional testing PropertyTree: This is a maintenance release. Extend compiler coverage in CI. Fix Boost compatibility for CMakeLists.txt. System: The conversion operator from error_category to std::error_category has been improved and no longer requires <map> or <mutex>. The comparison operators of error_category are now inline friends instead of member functions (a side effect of the previous change.) error_condition now defers calling generic_category() to avoid instantiating the object until it's actually needed. error_condition::failed and error_condition::message have been undeprecated, and operator bool() now once again returns failed(). The system category now doesn't call generic_category(), to avoid instantiating the object. The return value of default_error_condition changes in some cases into an error_condition from the generic category, instead of from the system category. This happens on POSIX when the input error_code is from the system category and does not correspond to any errc_t value. The interoperability of error_code and std::error_code has been improved substantially. It is now possible to construct boost::system::error_code from std::error_code, and it's possible to pass boost::system::error_code to functions taking std::error_code&. A stream insertion operator for error_condition has been added. Uuid: Added to_chars for writing uuid strings without allocating (PR#116) Updated Tools Build: Includes release of B2 version 4.6.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 12.0.0 Clang, C++11: 3.4, 11.0.0 Clang, C++14: 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 5.0, 12.0.0 Clang, C++17: 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0 Clang, C++20: 11.0.0, 12.0.0, 13.0.0 GCC: 4.6.3, 11 GCC, C++11: 4.7.3, 4.8.5, 11 GCC, C++14: 5.4.0, 6.4.0, 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++17: 7.3.0, 8.0.1, 9.1.0, 11 GCC, C++20: 8.0.1, 9.1.0, 10, 11 OS X: Apple Clang: 11.0.3 Apple Clang, C++11: 11.0.3 Apple Clang, C++14: 11.0.3 Apple Clang, C++17: 11.0.3 Apple Clang, C++20: 11.0.3 Windows: Visual C++: 10.0, 11.0, 12.0, 14.0, 14.1, 14.2 Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted about 4 years ago
The service that Boost uses to serve up its releases, Bintray.com is being retired by JFrog on the 1st of May. Fortunately for Boost, they have a new service, called JFrog.Arifactory, which we have transitioned to. For the ... [More] users of Boost, the only difference is that there is a new URL to download releases and snapshots. Instead of: https://dl.bintray.com/boostorg/release/ you should use https://boostorg.jfrog.io/artifactory/main/release/ to retrieve boost releases. Note: The pre-1.64 Boost releases are still available via Sourceforge. Thank you to JFrog for all your past and current support. [Less]
Posted over 4 years ago
New Libraries No new libraries Updated Libraries Asio: Added ip::scope_id_type type alias. ... [More] Added ip::port_type type alias. Added std::hash specialisations for IP addresses. Added std::hash specialisations for ip::basic_endpoint<>. Refactored SFINAE usage to improve compile times. Added friendship support to customisation points, and made most customisations private. Changed any_io_executor to a "strong typedef"-style class. Fixed experimental::as_single to work with handler hook deprecation. Ensured pthread condition variable attributes are cleaned up on all platforms. Clarified thread safety notes on sockets and descriptors. Ensured errno is not overwritten if socket() fails on macOS/FreeBSD. Fixed work tracking for io_context and thread_pool executors when move-assigned. Ensured internal call_stack objects are accessed only from implementation files. Fixed I/O object move-assignment to ensure the executor is left in a valid state. Fixed detection of compiler support for defaulted template argument on functions with MSVC. Prevented the blocking.always property from being used with strand<>, as it did not produce the correct semantics. Removed deprecated file asio/impl/src.cpp. Atomic: Fixed compilation with MSVC for ARM. (PR#49) Beast: This update brings minor bug fixes and revamped CI reporting. 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. Bind: Add support for using the standard C++11 placeholders with boost::bind. Update boost::apply to use variadic templates and perfect forwarding. Container: Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead. Example: in MSVC 19 boost/container/vector.hpp preprocessed file size reduces from 1,5MB to 930KB. If you still want to use standard exception classes, you can define BOOST_CONTAINER_USE_STD_EXCEPTIONS before using any Boost.Container class. Fixed bugs/issues: GitHub #102: "flat_map::insert ambiguous with initializer list & pairs that need to convert". GitHub #139: "flat_map merge and iterators". GitHub #141: "small_vector does not propagate no throw properties of move operation of contained type". GitHub #164: "Compile error when using pmr::map with a std::pair; works when using a std::tuple". GitHub #171: "deque::clear() uses undefined behaviour". Core: Add implicit conversion between compatible reference wrappers. Add boost/core/cmath.hpp, a portable implementation of the floating point classification functions from <cmath>. Add boost/core/bit.hpp, a portable implementation of the C++20 standard header <bit>. Fix BOOST_TEST_EQ, BOOST_TEST_NE for character types under C++20. Revise allocator access utilities (now support VS2013, and no workarounds use allocator_traits.) DLL: BREAKING CHANGE: boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword. Updated docs, including FAQ section. Filesystem: Updated compatibility with WASI platform. (PR#169) Fixed an exception being thrown by path::remove_filename if the path is "////". (#176) Fixed create_directories disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by create_directories. (#182) GIL: BREAKING: In next release, we are going to drop support for GCC 5. We will also change the required minimum C++ version from C++11 to C++14. Intrusive: Reduced compile-time dependencies: linear_slist_algorithms use a simple node_ptr instead of std::pair on return. list/slist use operator </operator == instead of std::equal_to/std::less. Fixed GitHub #54: set.rbegin() looks like O(log(N)) Interprocess: Added wchar_t API support for named resources in operating systems that offer native wide character API (e.g. Windows). The following classes were updated with wchar_t name support: file_mapping managed_mapped_file managed_shared_memory managed_windows_shared_memory shared_memory_object windows_shared_memory_object file_lock named_condition named_condition_any named_mutex named_recursive_mutex named_semaphore named_sharable_mutex named_upgradable_mutex message_queue Added BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION macro option to disable the use of generic emulation code for process shared synchronization primitives instead of native POSIX or Winapi functions. Fixed bugs: GitHub #76 ("Cygwin compilation errors"). GitHub #83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option"). GitHub #92 ("bufferstream: Correct MSVC compilation warning"). GitHub #106 ("Use fallocate on truncate_file"). GitHub #120 ("segment_manager customization"). GitHub #122 ("Mark constructors/assignment/swap noexcept where possible"). GitHub #126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe"). JSON: Security Report from Bishop Fox. (#481) Refactored value_from implementation; user customizations are now always preferred over library-provided overloads. (#484) Fix imprecise parsing for some floating point numbers. (#485) Fix link errors in standalone mode, when used alongside Boost. (#497) Fix Boost.Build builds on GCC 4.8. LexicalCast: Dropped dependency on Boost.Math (thanks to Peter Dimov #37, #39). Fixes for the CI and coverage (thanks to Sam Darwin from "The C++ Alliance" #38, #42). Log: Bug fixes: Corrected a formal race condition in the thread-safe log record queue implementation used in the unbounded_fifo_queue policy of the asynchronous_sink frontend. The race could be detected by TSAN, but it was not a real problem on most current CPU architectures and compilers. (#139) When copying a logger with a channel attribute (e.g. channel_logger), the channel attribute is now deep-copied from the original logger. This means that modifying the channel in the new logger will no longer affect the original logger. Replaced the use of std::allocator<void> in template parameters with a new tag type boost::log::use_std_allocator to silence libc++ warnings about the former being deprecated in C++17 and later. The tag indicates that the instantiated template should be using a specialization of std::allocator internally to allocate dynamic memory, so the change has no functional effect. (#141) Boost.Log no longer defines __MSVCRT_VERSION__ macro on MinGW and MinGW-w64. Defining this macro caused incompatibility with UCRT, which is available as an option in recent MinGW-w64. (PR#149) See changelog for more details. Math: Breaking Change: C++03 support is now removed, a C++11 or later conformant compiler is now required to use this library. Added Z-test. Added execution policy support to univariate and bivariate statistics: enables parallel execution (requires C++17 and <execution>). Big update/improvement on CI testing. Bivariate statistics now have integer support. T-Test now has integer support. Linear regression now has integer support. Correct PDF of the beta distribution at the endpoints. Correct use of Stirling's approximation in certain multiprecision cases, fixes #396. Eliminate -Wimplicit-int-float-conversion on clang. Fix some constexpr issues in quaternion/octonion. Minor performance fix to tanh_sinh integration. Update hypergeometric functions internal scaling to allow for 64-bit (long long) exponents with multiprecision types. Move: Git Issue #35: "New nothrow move traits are incomplete". Multiprecision: BREAKING CHANGE: Massive refactoring and code simplification makes C++11 an absolute requirement. Use BOOST_TRY/CATCH in headers so code can be used in exception-free environments. Correct corner case in pow, fixes #277. Correct exception type thrown to match docs in lsb/msb: fixes #257. Allow moves and operators between related but different types (ie types with the same allocator), fixes #278. Nowide: Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows) Fix potential use-after-free bug when reusing (via open) a file stream that has been closed Fix potential invalid memory access when using a file stream that has been moved or swapped to where the source had a put-back character or was set to unbuffered mode Fix compatibility with ucrt runtime by not defining __MSVCRT_VERSION__ Known issues: Read performance for text files is degraded. Binary files and writing is unaffected. Optional: Fixed MSVC warning C4702. Outcome: Announcements: BREAKING CHANGE: After a year and three major Boost releases announcing this upcoming change, this is the FIRST RELEASE of the v2.2 branch. This branch has a number of major breaking changes to the Outcome v2.1 which shipped in Boost 1.75 and earlier, see the documentation for details. Enhancements: VS2019.8 changed how to enable Coroutines, which caused Outcome to not compile on that compiler. If on C++ 20, we now use C++ 20 [[likely]] instead of compiler-specific markup to indicate when TRY has likely success or failure. BREAKING CHANGE: Previously the value of spare_storage(const basic_result|basic_outcome *) noexcept was not propagated over BOOST_OUTCOME_TRY, which causes things like stack backtraces captured at the point of construction of an errored result to get dropped at every TRY point. This has been fixed by adding an optional spare_storage to success_type<T> and failure_type<T>, as well as to auto success(T &&, ...) and auto failure(T &&, ...). Bug fixes: 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. BREAKING CHANGE #244 It came as a shock to learn that BOOST_OUTCOME_TRY had been broken since the inception of this library for certain corner case code, which required a breaking change in how TRY works. See the changelog in the documentation for more detail. Parameter: Added a workaround for MSVC 2015 code miscompilation when an rvalue was used as a default value of a named parameter of a function. (PR#109, #132) PFR: Fixed reflection of types with missing const in SFINAE expressions in template constructor. Now reflection of aggregates with std::optional<std::chrono::duration??>> fields works on any Standard Library implementation, even if LWG3050 is not fixed. Comparison functions are now constexpr #52 Fixed numerous typos in docs (thanks to Phil Miller #63) PolyCollection: Worked around GCC bug affecting GCC versions 9.3-10.2 (issue #20). Predef: Version 1.13 Add ARCH_PPC_64 predef. Fix ARCH_WORD_BITS* redefinition warnings/errors. Add ARCH_E2K, Elbrus 2000, architecture from Konstantin Ivlev. Fix not handling recent C++ version that go above 10.x version. Version 1.12 Switch to using the endian.h header on OpenBSD. (Brad Smith) Fix not handling recent versions of stdcxx that go above version 9. Fix including sub-BSD OS headers directly causing redef warnings. Add CI testing of direct inclusion of all headers. Add CI testing on FreeBSD for clang and gcc. Add WORD_BITS set of predefs to detect the architecture word size. Initial implementation inspired by submission from Mikhail Komarov. Add CI testing for Cygwin 32 and 64. PropertyTree: Property Tree has a new maintainer. Fix usage of deprecated Boost.Bind features. Link to Wikipedia fixed. Use BOOST_OVERRIDE to fix GCC warnings. Add extensive CI testing. Regex: Regex is now header only except in C++03 mode. Support for C++03 is now deprecated. The library can now be used "standalone" without the rest of Boost being present. Stacktrace: Better support for pre-C++11 builds on clang #102. Bigger warning for do not use boost::stacktrace::stacktrace in signal handlers #71. TypeTraits: Fix for Visual Studio managed code projects. Variant2: Improved generated code for the double buffered case. Updated Tools Build: Includes release of B2 version 4.4.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.0, 4.0.1, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.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, 9.0.0, 10.0.0, 11.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++17: 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0, 11.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Boost's additional test compilers include: Linux: Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0 Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2, 6.0.1, 7.0.0, 8.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1, 8.1.0 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++17: 9.1.0, 10.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted over 4 years ago
New Libraries No new libraries Updated Libraries Asio: Added ip::scope_id_type type alias. ... [More] Added ip::port_type type alias. Added std::hash specialisations for IP addresses. Added std::hash specialisations for ip::basic_endpoint<>. Refactored SFINAE usage to improve compile times. Added friendship support to customisation points, and made most customisations private. Changed any_io_executor to a "strong typedef"-style class. Fixed experimental::as_single to work with handler hook deprecation. Ensured pthread condition variable attributes are cleaned up on all platforms. Clarified thread safety notes on sockets and descriptors. Ensured errno is not overwritten if socket() fails on macOS/FreeBSD. Fixed work tracking for io_context and thread_pool executors when move-assigned. Ensured internal call_stack objects are accessed only from implementation files. Fixed I/O object move-assignment to ensure the executor is left in a valid state. Fixed detection of compiler support for defaulted template argument on functions with MSVC. Prevented the blocking.always property from being used with strand<>, as it did not produce the correct semantics. Removed deprecated file asio/impl/src.cpp. Atomic: Fixed compilation with MSVC for ARM. (PR#49) Beast: This update brings minor bug fixes and revamped CI reporting. 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. Bind: Add support for using the standard C++11 placeholders with boost::bind. Update boost::apply to use variadic templates and perfect forwarding. Container: Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead. Example: in MSVC 19 boost/container/vector.hpp preprocessed file size reduces from 1,5MB to 930KB. If you still want to use standard exception classes, you can define BOOST_CONTAINER_USE_STD_EXCEPTIONS before using any Boost.Container class. Fixed bugs/issues: GitHub #102: "flat_map::insert ambiguous with initializer list & pairs that need to convert". GitHub #139: "flat_map merge and iterators". GitHub #141: "small_vector does not propagate no throw properties of move operation of contained type". GitHub #164: "Compile error when using pmr::map with a std::pair; works when using a std::tuple". GitHub #171: "deque::clear() uses undefined behaviour". Core: Add implicit conversion between compatible reference wrappers. Add boost/core/cmath.hpp, a portable implementation of the floating point classification functions from <cmath>. Add boost/core/bit.hpp, a portable implementation of the C++20 standard header <bit>. Fix BOOST_TEST_EQ, BOOST_TEST_NE for character types under C++20. Revise allocator access utilities (now support VS2013, and no workarounds use allocator_traits.) DLL: BREAKING CHANGE: boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword. Updated docs, including FAQ section. Filesystem: Updated compatibility with WASI platform. (PR#169) Fixed an exception being thrown by path::remove_filename if the path is "////". (#176) Fixed create_directories disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by create_directories. (#182) GIL: BREAKING: In next release, we are going to drop support for GCC 5. We will also change the required minimum C++ version from C++11 to C++14. Histogram: This release contains critical fixes, please check that your results are not affected. See Release Notes for details. Intrusive: Reduced compile-time dependencies: linear_slist_algorithms use a simple node_ptr instead of std::pair on return. list/slist use operator </operator == instead of std::equal_to/std::less. Fixed GitHub #54: set.rbegin() looks like O(log(N)) Interprocess: Added wchar_t API support for named resources in operating systems that offer native wide character API (e.g. Windows). The following classes were updated with wchar_t name support: file_mapping managed_mapped_file managed_shared_memory managed_windows_shared_memory shared_memory_object windows_shared_memory_object file_lock named_condition named_condition_any named_mutex named_recursive_mutex named_semaphore named_sharable_mutex named_upgradable_mutex message_queue Added BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION macro option to disable the use of generic emulation code for process shared synchronization primitives instead of native POSIX or Winapi functions. Fixed bugs: GitHub #76 ("Cygwin compilation errors"). GitHub #83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option"). GitHub #92 ("bufferstream: Correct MSVC compilation warning"). GitHub #106 ("Use fallocate on truncate_file"). GitHub #120 ("segment_manager customization"). GitHub #122 ("Mark constructors/assignment/swap noexcept where possible"). GitHub #126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe"). JSON: Security Report from Bishop Fox. (#481) Refactored value_from implementation; user customizations are now always preferred over library-provided overloads. (#484) Fix imprecise parsing for some floating point numbers. (#485) Fix link errors in standalone mode, when used alongside Boost. (#497) Fix Boost.Build builds on GCC 4.8. LexicalCast: Dropped dependency on Boost.Math (thanks to Peter Dimov #37, #39). Fixes for the CI and coverage (thanks to Sam Darwin from "The C++ Alliance" #38, #42). Log: Bug fixes: Corrected a formal race condition in the thread-safe log record queue implementation used in the unbounded_fifo_queue policy of the asynchronous_sink frontend. The race could be detected by TSAN, but it was not a real problem on most current CPU architectures and compilers. (#139) When copying a logger with a channel attribute (e.g. channel_logger), the channel attribute is now deep-copied from the original logger. This means that modifying the channel in the new logger will no longer affect the original logger. Replaced the use of std::allocator<void> in template parameters with a new tag type boost::log::use_std_allocator to silence libc++ warnings about the former being deprecated in C++17 and later. The tag indicates that the instantiated template should be using a specialization of std::allocator internally to allocate dynamic memory, so the change has no functional effect. (#141) Boost.Log no longer defines __MSVCRT_VERSION__ macro on MinGW and MinGW-w64. Defining this macro caused incompatibility with UCRT, which is available as an option in recent MinGW-w64. (PR#149) See changelog for more details. Math: Breaking Change: C++03 support is now removed, a C++11 or later conformant compiler is now required to use this library. Added Z-test. Added execution policy support to univariate and bivariate statistics: enables parallel execution (requires C++17 and <execution>). Big update/improvement on CI testing. Bivariate statistics now have integer support. T-Test now has integer support. Linear regression now has integer support. Correct PDF of the beta distribution at the endpoints. Correct use of Stirling's approximation in certain multiprecision cases, fixes #396. Eliminate -Wimplicit-int-float-conversion on clang. Fix some constexpr issues in quaternion/octonion. Minor performance fix to tanh_sinh integration. Update hypergeometric functions internal scaling to allow for 64-bit (long long) exponents with multiprecision types. Move: Git Issue #35: "New nothrow move traits are incomplete". Multiprecision: BREAKING CHANGE: Massive refactoring and code simplification makes C++11 an absolute requirement. Use BOOST_TRY/CATCH in headers so code can be used in exception-free environments. Correct corner case in pow, fixes #277. Correct exception type thrown to match docs in lsb/msb: fixes #257. Allow moves and operators between related but different types (ie types with the same allocator), fixes #278. Nowide: Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows) Fix potential use-after-free bug when reusing (via open) a file stream that has been closed Fix potential invalid memory access when using a file stream that has been moved or swapped to where the source had a put-back character or was set to unbuffered mode Fix compatibility with ucrt runtime by not defining __MSVCRT_VERSION__ Known issues: Read performance for text files is degraded. Binary files and writing is unaffected. Optional: Fixed MSVC warning C4702. Outcome: Announcements: BREAKING CHANGE: After a year and three major Boost releases announcing this upcoming change, this is the FIRST RELEASE of the v2.2 branch. This branch has a number of major breaking changes to the Outcome v2.1 which shipped in Boost 1.75 and earlier, see the documentation for details. Enhancements: VS2019.8 changed how to enable Coroutines, which caused Outcome to not compile on that compiler. If on C++ 20, we now use C++ 20 [[likely]] instead of compiler-specific markup to indicate when TRY has likely success or failure. BREAKING CHANGE: Previously the value of spare_storage(const basic_result|basic_outcome *) noexcept was not propagated over BOOST_OUTCOME_TRY, which causes things like stack backtraces captured at the point of construction of an errored result to get dropped at every TRY point. This has been fixed by adding an optional spare_storage to success_type<T> and failure_type<T>, as well as to auto success(T &&, ...) and auto failure(T &&, ...). Bug fixes: 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. BREAKING CHANGE #244 It came as a shock to learn that BOOST_OUTCOME_TRY had been broken since the inception of this library for certain corner case code, which required a breaking change in how TRY works. See the changelog in the documentation for more detail. Parameter: Added a workaround for MSVC 2015 code miscompilation when an rvalue was used as a default value of a named parameter of a function. (PR#109, #132) PFR: Fixed reflection of types with missing const in SFINAE expressions in template constructor. Now reflection of aggregates with std::optional<std::chrono::duration??>> fields works on any Standard Library implementation, even if LWG3050 is not fixed. Comparison functions are now constexpr #52 Fixed numerous typos in docs (thanks to Phil Miller #63) PolyCollection: Worked around GCC bug affecting GCC versions 9.3-10.2 (issue #20). Predef: Version 1.13 Add ARCH_PPC_64 predef. Fix ARCH_WORD_BITS* redefinition warnings/errors. Add ARCH_E2K, Elbrus 2000, architecture from Konstantin Ivlev. Fix not handling recent C++ version that go above 10.x version. Version 1.12 Switch to using the endian.h header on OpenBSD. (Brad Smith) Fix not handling recent versions of stdcxx that go above version 9. Fix including sub-BSD OS headers directly causing redef warnings. Add CI testing of direct inclusion of all headers. Add CI testing on FreeBSD for clang and gcc. Add WORD_BITS set of predefs to detect the architecture word size. Initial implementation inspired by submission from Mikhail Komarov. Add CI testing for Cygwin 32 and 64. PropertyTree: Property Tree has a new maintainer. Fix usage of deprecated Boost.Bind features. Link to Wikipedia fixed. Use BOOST_OVERRIDE to fix GCC warnings. Add extensive CI testing. Regex: Regex is now header only except in C++03 mode. Support for C++03 is now deprecated. The library can now be used "standalone" without the rest of Boost being present. Stacktrace: Better support for pre-C++11 builds on clang #102. Bigger warning for do not use boost::stacktrace::stacktrace in signal handlers #71. TypeTraits: Fix for Visual Studio managed code projects. Variant2: Improved generated code for the double buffered case. Updated Tools Build: Includes release of B2 version 4.4.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.0, 4.0.1, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.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, 9.0.0, 10.0.0, 11.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++17: 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0, 11.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Boost's additional test compilers include: Linux: Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0 Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2, 6.0.1, 7.0.0, 8.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1, 8.1.0 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++17: 9.1.0, 10.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted over 4 years ago
New Libraries No new libraries Updated Libraries Asio: Added ip::scope_id_type type alias. ... [More] Added ip::port_type type alias. Added std::hash specialisations for IP addresses. Added std::hash specialisations for ip::basic_endpoint<>. Refactored SFINAE usage to improve compile times. Added friendship support to customisation points, and made most customisations private. Changed any_io_executor to a "strong typedef"-style class. Fixed experimental::as_single to work with handler hook deprecation. Ensured pthread condition variable attributes are cleaned up on all platforms. Clarified thread safety notes on sockets and descriptors. Ensured errno is not overwritten if socket() fails on macOS/FreeBSD. Fixed work tracking for io_context and thread_pool executors when move-assigned. Ensured internal call_stack objects are accessed only from implementation files. Fixed I/O object move-assignment to ensure the executor is left in a valid state. Fixed detection of compiler support for defaulted template argument on functions with MSVC. Prevented the blocking.always property from being used with strand<>, as it did not produce the correct semantics. Removed deprecated file asio/impl/src.cpp. Atomic: Fixed compilation with MSVC for ARM. (PR#49) Beast: This update brings minor bug fixes and revamped CI reporting. 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. Bind: Add support for using the standard C++11 placeholders with boost::bind. Update boost::apply to use variadic templates and perfect forwarding. Container: Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead. Example: in MSVC 19 boost/container/vector.hpp preprocessed file size reduces from 1,5MB to 930KB. If you still want to use standard exception classes, you can define BOOST_CONTAINER_USE_STD_EXCEPTIONS before using any Boost.Container class. Fixed bugs/issues: GitHub #102: "flat_map::insert ambiguous with initializer list & pairs that need to convert". GitHub #139: "flat_map merge and iterators". GitHub #141: "small_vector does not propagate no throw properties of move operation of contained type". GitHub #164: "Compile error when using pmr::map with a std::pair; works when using a std::tuple". GitHub #171: "deque::clear() uses undefined behaviour". Core: Add implicit conversion between compatible reference wrappers. Add boost/core/cmath.hpp, a portable implementation of the floating point classification functions from <cmath>. Add boost/core/bit.hpp, a portable implementation of the C++20 standard header <bit>. Fix BOOST_TEST_EQ, BOOST_TEST_NE for character types under C++20. Revise allocator access utilities (now support VS2013, and no workarounds use allocator_traits.) DLL: BREAKING CHANGE: boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword. Updated docs, including FAQ section. Filesystem: Updated compatibility with WASI platform. (PR#169) Fixed an exception being thrown by path::remove_filename if the path is "////". (#176) Fixed create_directories disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by create_directories. (#182) Geometry: Improvements PR#670 New IOs to_wkt() and from_wkt() (thanks to Baidyanath Kundu). PR#756 Non cartesian and robust convex hulls. PR#768 Umbrella strategies for relops, setops, index, buffer and more (undocumented for now). PR#797 New azimuth() algorithm. PR#801 Improved accuracy in geographic area computations. PR#820 Parameter scale added to svg_mapper. Bugfixes PR#808 Fixed compilation error with rtree serialization enabled (thanks to Tristan Carel). PR#815 Fixed issue in buffer(). Various fixes in set operations and buffer. Breaking changes Removed strategy convex_hull::graham_andrew. GIL: BREAKING: In next release, we are going to drop support for GCC 5. We will also change the required minimum C++ version from C++11 to C++14. Histogram: This release contains critical fixes, please check that your results are not affected. See Release Notes for details. Intrusive: Reduced compile-time dependencies: linear_slist_algorithms use a simple node_ptr instead of std::pair on return. list/slist use operator </operator == instead of std::equal_to/std::less. Fixed GitHub #54: set.rbegin() looks like O(log(N)) Interprocess: Added wchar_t API support for named resources in operating systems that offer native wide character API (e.g. Windows). The following classes were updated with wchar_t name support: file_mapping managed_mapped_file managed_shared_memory managed_windows_shared_memory shared_memory_object windows_shared_memory_object file_lock named_condition named_condition_any named_mutex named_recursive_mutex named_semaphore named_sharable_mutex named_upgradable_mutex message_queue Added BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION macro option to disable the use of generic emulation code for process shared synchronization primitives instead of native POSIX or Winapi functions. Fixed bugs: GitHub #76 ("Cygwin compilation errors"). GitHub #83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option"). GitHub #92 ("bufferstream: Correct MSVC compilation warning"). GitHub #106 ("Use fallocate on truncate_file"). GitHub #120 ("segment_manager customization"). GitHub #122 ("Mark constructors/assignment/swap noexcept where possible"). GitHub #126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe"). JSON: Security Report from Bishop Fox. (#481) Refactored value_from implementation; user customizations are now always preferred over library-provided overloads. (#484) Fix imprecise parsing for some floating point numbers. (#485) Fix link errors in standalone mode, when used alongside Boost. (#497) Fix Boost.Build builds on GCC 4.8. LexicalCast: Dropped dependency on Boost.Math (thanks to Peter Dimov #37, #39). Fixes for the CI and coverage (thanks to Sam Darwin from "The C++ Alliance" #38, #42). Log: Bug fixes: Corrected a formal race condition in the thread-safe log record queue implementation used in the unbounded_fifo_queue policy of the asynchronous_sink frontend. The race could be detected by TSAN, but it was not a real problem on most current CPU architectures and compilers. (#139) When copying a logger with a channel attribute (e.g. channel_logger), the channel attribute is now deep-copied from the original logger. This means that modifying the channel in the new logger will no longer affect the original logger. Replaced the use of std::allocator<void> in template parameters with a new tag type boost::log::use_std_allocator to silence libc++ warnings about the former being deprecated in C++17 and later. The tag indicates that the instantiated template should be using a specialization of std::allocator internally to allocate dynamic memory, so the change has no functional effect. (#141) Boost.Log no longer defines __MSVCRT_VERSION__ macro on MinGW and MinGW-w64. Defining this macro caused incompatibility with UCRT, which is available as an option in recent MinGW-w64. (PR#149) See changelog for more details. Math: Breaking Change: C++03 support is now removed, a C++11 or later conformant compiler is now required to use this library. Added Z-test. Added execution policy support to univariate and bivariate statistics: enables parallel execution (requires C++17 and <execution>). Big update/improvement on CI testing. Bivariate statistics now have integer support. T-Test now has integer support. Linear regression now has integer support. Correct PDF of the beta distribution at the endpoints. Correct use of Stirling's approximation in certain multiprecision cases, fixes #396. Eliminate -Wimplicit-int-float-conversion on clang. Fix some constexpr issues in quaternion/octonion. Minor performance fix to tanh_sinh integration. Update hypergeometric functions internal scaling to allow for 64-bit (long long) exponents with multiprecision types. Move: Git Issue #35: "New nothrow move traits are incomplete". Multiprecision: BREAKING CHANGE: Massive refactoring and code simplification makes C++11 an absolute requirement. Use BOOST_TRY/CATCH in headers so code can be used in exception-free environments. Correct corner case in pow, fixes #277. Correct exception type thrown to match docs in lsb/msb: fixes #257. Allow moves and operators between related but different types (ie types with the same allocator), fixes #278. Nowide: Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows) Fix potential use-after-free bug when reusing (via open) a file stream that has been closed Fix potential invalid memory access when using a file stream that has been moved or swapped to where the source had a put-back character or was set to unbuffered mode Fix compatibility with ucrt runtime by not defining __MSVCRT_VERSION__ Known issues: Read performance for text files is degraded. Binary files and writing is unaffected. Optional: Fixed MSVC warning C4702. Outcome: Announcements: BREAKING CHANGE: After a year and three major Boost releases announcing this upcoming change, this is the FIRST RELEASE of the v2.2 branch. This branch has a number of major breaking changes to the Outcome v2.1 which shipped in Boost 1.75 and earlier, see the documentation for details. Enhancements: VS2019.8 changed how to enable Coroutines, which caused Outcome to not compile on that compiler. If on C++ 20, we now use C++ 20 [[likely]] instead of compiler-specific markup to indicate when TRY has likely success or failure. BREAKING CHANGE: Previously the value of spare_storage(const basic_result|basic_outcome *) noexcept was not propagated over BOOST_OUTCOME_TRY, which causes things like stack backtraces captured at the point of construction of an errored result to get dropped at every TRY point. This has been fixed by adding an optional spare_storage to success_type<T> and failure_type<T>, as well as to auto success(T &&, ...) and auto failure(T &&, ...). Bug fixes: 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. BREAKING CHANGE #244 It came as a shock to learn that BOOST_OUTCOME_TRY had been broken since the inception of this library for certain corner case code, which required a breaking change in how TRY works. See the changelog in the documentation for more detail. Parameter: Added a workaround for MSVC 2015 code miscompilation when an rvalue was used as a default value of a named parameter of a function. (PR#109, #132) PFR: Fixed reflection of types with missing const in SFINAE expressions in template constructor. Now reflection of aggregates with std::optional<std::chrono::duration??>> fields works on any Standard Library implementation, even if LWG3050 is not fixed. Comparison functions are now constexpr #52 Fixed numerous typos in docs (thanks to Phil Miller #63) PolyCollection: Worked around GCC bug affecting GCC versions 9.3-10.2 (issue #20). Predef: Version 1.13 Add ARCH_PPC_64 predef. Fix ARCH_WORD_BITS* redefinition warnings/errors. Add ARCH_E2K, Elbrus 2000, architecture from Konstantin Ivlev. Fix not handling recent C++ version that go above 10.x version. Version 1.12 Switch to using the endian.h header on OpenBSD. (Brad Smith) Fix not handling recent versions of stdcxx that go above version 9. Fix including sub-BSD OS headers directly causing redef warnings. Add CI testing of direct inclusion of all headers. Add CI testing on FreeBSD for clang and gcc. Add WORD_BITS set of predefs to detect the architecture word size. Initial implementation inspired by submission from Mikhail Komarov. Add CI testing for Cygwin 32 and 64. PropertyTree: Property Tree has a new maintainer. Fix usage of deprecated Boost.Bind features. Link to Wikipedia fixed. Use BOOST_OVERRIDE to fix GCC warnings. Add extensive CI testing. Regex: Regex is now header only except in C++03 mode. Support for C++03 is now deprecated. The library can now be used "standalone" without the rest of Boost being present. Stacktrace: Better support for pre-C++11 builds on clang #102. Bigger warning for do not use boost::stacktrace::stacktrace in signal handlers #71. TypeTraits: Fix for Visual Studio managed code projects. Variant2: Improved generated code for the double buffered case. Updated Tools Build: Includes release of B2 version 4.4.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.0, 4.0.1, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.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, 9.0.0, 10.0.0, 11.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++17: 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0, 11.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Boost's additional test compilers include: Linux: Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0 Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2, 6.0.1, 7.0.0, 8.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1, 8.1.0 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++17: 9.1.0, 10.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted over 4 years ago
New Libraries No new libraries Updated Libraries Asio: Added ip::scope_id_type type alias. ... [More] Added ip::port_type type alias. Added std::hash specialisations for IP addresses. Added std::hash specialisations for ip::basic_endpoint<>. Refactored SFINAE usage to improve compile times. Added friendship support to customisation points, and made most customisations private. Changed any_io_executor to a "strong typedef"-style class. Fixed experimental::as_single to work with handler hook deprecation. Ensured pthread condition variable attributes are cleaned up on all platforms. Clarified thread safety notes on sockets and descriptors. Ensured errno is not overwritten if socket() fails on macOS/FreeBSD. Fixed work tracking for io_context and thread_pool executors when move-assigned. Ensured internal call_stack objects are accessed only from implementation files. Fixed I/O object move-assignment to ensure the executor is left in a valid state. Fixed detection of compiler support for defaulted template argument on functions with MSVC. Prevented the blocking.always property from being used with strand<>, as it did not produce the correct semantics. Removed deprecated file asio/impl/src.cpp. Atomic: Fixed compilation with MSVC for ARM. (PR#49) Beast: This update brings minor bug fixes and revamped CI reporting. 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. Bind: Add support for using the standard C++11 placeholders with boost::bind. Update boost::apply to use variadic templates and perfect forwarding. Container: Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead. Example: in MSVC 19 boost/container/vector.hpp preprocessed file size reduces from 1,5MB to 930KB. If you still want to use standard exception classes, you can define BOOST_CONTAINER_USE_STD_EXCEPTIONS before using any Boost.Container class. Fixed bugs/issues: GitHub #102: "flat_map::insert ambiguous with initializer list & pairs that need to convert". GitHub #139: "flat_map merge and iterators". GitHub #141: "small_vector does not propagate no throw properties of move operation of contained type". GitHub #164: "Compile error when using pmr::map with a std::pair; works when using a std::tuple". GitHub #171: "deque::clear() uses undefined behaviour". Core: Add implicit conversion between compatible reference wrappers. Add boost/core/cmath.hpp, a portable implementation of the floating point classification functions from <cmath>. Add boost/core/bit.hpp, a portable implementation of the C++20 standard header <bit>. Fix BOOST_TEST_EQ, BOOST_TEST_NE for character types under C++20. Revise allocator access utilities (now support VS2013, and no workarounds use allocator_traits.) DLL: BREAKING CHANGE: boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword. Updated docs, including FAQ section. Filesystem: Updated compatibility with WASI platform. (PR#169) Fixed an exception being thrown by path::remove_filename if the path is "////". (#176) Fixed create_directories disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by create_directories. (#182) Geometry: Improvements PR#670 New IOs to_wkt() and from_wkt() (thanks to Baidyanath Kundu). PR#756 Non cartesian and robust convex hulls. PR#768 Umbrella strategies for relops, setops, index, buffer and more (undocumented for now). PR#797 New azimuth() algorithm. PR#801 Improved accuracy in geographic area computations. PR#820 Parameter scale added to svg_mapper. Bugfixes PR#808 Fixed compilation error with rtree serialization enabled (thanks to Tristan Carel). PR#815 Fixed issue in buffer(). Various fixes in set operations and buffer. Breaking changes Removed strategy convex_hull::graham_andrew. GIL: BREAKING: In next release, we are going to drop support for GCC 5. We will also change the required minimum C++ version from C++11 to C++14. Histogram: This release contains critical fixes, please check that your results are not affected. See Release Notes for details. Intrusive: Reduced compile-time dependencies: linear_slist_algorithms use a simple node_ptr instead of std::pair on return. list/slist use operator </operator == instead of std::equal_to/std::less. Fixed GitHub #54: set.rbegin() looks like O(log(N)) Interprocess: Added wchar_t API support for named resources in operating systems that offer native wide character API (e.g. Windows). The following classes were updated with wchar_t name support: file_mapping managed_mapped_file managed_shared_memory managed_windows_shared_memory shared_memory_object windows_shared_memory_object file_lock named_condition named_condition_any named_mutex named_recursive_mutex named_semaphore named_sharable_mutex named_upgradable_mutex message_queue Added BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION macro option to disable the use of generic emulation code for process shared synchronization primitives instead of native POSIX or Winapi functions. Fixed bugs: GitHub #76 ("Cygwin compilation errors"). GitHub #83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option"). GitHub #92 ("bufferstream: Correct MSVC compilation warning"). GitHub #106 ("Use fallocate on truncate_file"). GitHub #120 ("segment_manager customization"). GitHub #122 ("Mark constructors/assignment/swap noexcept where possible"). GitHub #126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe"). JSON: Security Report from Bishop Fox. (#481) Refactored value_from implementation; user customizations are now always preferred over library-provided overloads. (#484) Fix imprecise parsing for some floating point numbers. (#485) Fix link errors in standalone mode, when used alongside Boost. (#497) Fix Boost.Build builds on GCC 4.8. LexicalCast: Dropped dependency on Boost.Math (thanks to Peter Dimov #37, #39). Fixes for the CI and coverage (thanks to Sam Darwin from "The C++ Alliance" #38, #42). Log: Bug fixes: Corrected a formal race condition in the thread-safe log record queue implementation used in the unbounded_fifo_queue policy of the asynchronous_sink frontend. The race could be detected by TSAN, but it was not a real problem on most current CPU architectures and compilers. (#139) When copying a logger with a channel attribute (e.g. channel_logger), the channel attribute is now deep-copied from the original logger. This means that modifying the channel in the new logger will no longer affect the original logger. Replaced the use of std::allocator<void> in template parameters with a new tag type boost::log::use_std_allocator to silence libc++ warnings about the former being deprecated in C++17 and later. The tag indicates that the instantiated template should be using a specialization of std::allocator internally to allocate dynamic memory, so the change has no functional effect. (#141) Boost.Log no longer defines __MSVCRT_VERSION__ macro on MinGW and MinGW-w64. Defining this macro caused incompatibility with UCRT, which is available as an option in recent MinGW-w64. (PR#149) See changelog for more details. Math: Breaking Change: C++03 support is now removed, a C++11 or later conformant compiler is now required to use this library. Added Z-test. Added execution policy support to univariate and bivariate statistics: enables parallel execution (requires C++17 and <execution>). Big update/improvement on CI testing. Bivariate statistics now have integer support. T-Test now has integer support. Linear regression now has integer support. Correct PDF of the beta distribution at the endpoints. Correct use of Stirling's approximation in certain multiprecision cases, fixes #396. Eliminate -Wimplicit-int-float-conversion on clang. Fix some constexpr issues in quaternion/octonion. Minor performance fix to tanh_sinh integration. Update hypergeometric functions internal scaling to allow for 64-bit (long long) exponents with multiprecision types. Move: Git Issue #35: "New nothrow move traits are incomplete". Multiprecision: BREAKING CHANGE: Massive refactoring and code simplification makes C++11 an absolute requirement. Use BOOST_TRY/CATCH in headers so code can be used in exception-free environments. Correct corner case in pow, fixes #277. Correct exception type thrown to match docs in lsb/msb: fixes #257. Allow moves and operators between related but different types (ie types with the same allocator), fixes #278. Nowide: Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows) Fix potential use-after-free bug when reusing (via open) a file stream that has been closed Fix potential invalid memory access when using a file stream that has been moved or swapped to where the source had a put-back character or was set to unbuffered mode Fix compatibility with ucrt runtime by not defining __MSVCRT_VERSION__ Known issues: Read performance for text files is degraded. Binary files and writing is unaffected. Optional: Fixed MSVC warning C4702. Outcome: Announcements: BREAKING CHANGE: After a year and three major Boost releases announcing this upcoming change, this is the FIRST RELEASE of the v2.2 branch. This branch has a number of major breaking changes to the Outcome v2.1 which shipped in Boost 1.75 and earlier, see the documentation for details. Enhancements: VS2019.8 changed how to enable Coroutines, which caused Outcome to not compile on that compiler. If on C++ 20, we now use C++ 20 [[likely]] instead of compiler-specific markup to indicate when TRY has likely success or failure. BREAKING CHANGE: Previously the value of spare_storage(const basic_result|basic_outcome *) noexcept was not propagated over BOOST_OUTCOME_TRY, which causes things like stack backtraces captured at the point of construction of an errored result to get dropped at every TRY point. This has been fixed by adding an optional spare_storage to success_type<T> and failure_type<T>, as well as to auto success(T &&, ...) and auto failure(T &&, ...). Bug fixes: 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. BREAKING CHANGE #244 It came as a shock to learn that BOOST_OUTCOME_TRY had been broken since the inception of this library for certain corner case code, which required a breaking change in how TRY works. See the changelog in the documentation for more detail. Parameter: Added a workaround for MSVC 2015 code miscompilation when an rvalue was used as a default value of a named parameter of a function. (PR#109, #132) PFR: Fixed reflection of types with missing const in SFINAE expressions in template constructor. Now reflection of aggregates with std::optional<std::chrono::duration??>> fields works on any Standard Library implementation, even if LWG3050 is not fixed. Comparison functions are now constexpr #52 Fixed numerous typos in docs (thanks to Phil Miller #63) PolyCollection: Worked around GCC bug affecting GCC versions 9.3-10.2 (issue #20). Predef: Version 1.13 Add ARCH_PPC_64 predef. Fix ARCH_WORD_BITS* redefinition warnings/errors. Add ARCH_E2K, Elbrus 2000, architecture from Konstantin Ivlev. Fix not handling recent C++ version that go above 10.x version. Version 1.12 Switch to using the endian.h header on OpenBSD. (Brad Smith) Fix not handling recent versions of stdcxx that go above version 9. Fix including sub-BSD OS headers directly causing redef warnings. Add CI testing of direct inclusion of all headers. Add CI testing on FreeBSD for clang and gcc. Add WORD_BITS set of predefs to detect the architecture word size. Initial implementation inspired by submission from Mikhail Komarov. Add CI testing for Cygwin 32 and 64. PropertyTree: Property Tree has a new maintainer. Fix usage of deprecated Boost.Bind features. Link to Wikipedia fixed. Use BOOST_OVERRIDE to fix GCC warnings. Add extensive CI testing. Regex: Regex is now header only except in C++03 mode. Support for C++03 is now deprecated. The library can now be used "standalone" without the rest of Boost being present. Stacktrace: Better support for pre-C++11 builds on clang #102. Bigger warning for do not use boost::stacktrace::stacktrace in signal handlers #71. TypeTraits: Fix for Visual Studio managed code projects. Variant2: Improved generated code for the double buffered case. Updated Tools Build: Includes release of B2 version 4.4.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.0, 4.0.1, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.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, 9.0.0, 10.0.0, 11.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++17: 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0, 11.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Boost's additional test compilers include: Linux: Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0 Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2, 6.0.1, 7.0.0, 8.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1, 8.1.0 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++17: 9.1.0, 10.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]
Posted over 4 years ago
New Libraries No new libraries Updated Libraries Asio: Added ip::scope_id_type type alias. ... [More] Added ip::port_type type alias. Added std::hash specialisations for IP addresses. Added std::hash specialisations for ip::basic_endpoint<>. Refactored SFINAE usage to improve compile times. Added friendship support to customisation points, and made most customisations private. Changed any_io_executor to a "strong typedef"-style class. Fixed experimental::as_single to work with handler hook deprecation. Ensured pthread condition variable attributes are cleaned up on all platforms. Clarified thread safety notes on sockets and descriptors. Ensured errno is not overwritten if socket() fails on macOS/FreeBSD. Fixed work tracking for io_context and thread_pool executors when move-assigned. Ensured internal call_stack objects are accessed only from implementation files. Fixed I/O object move-assignment to ensure the executor is left in a valid state. Fixed detection of compiler support for defaulted template argument on functions with MSVC. Prevented the blocking.always property from being used with strand<>, as it did not produce the correct semantics. Removed deprecated file asio/impl/src.cpp. Atomic: Fixed compilation with MSVC for ARM. (PR#49) Beast: This update brings minor bug fixes and revamped CI reporting. 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. Bind: Add support for using the standard C++11 placeholders with boost::bind. Update boost::apply to use variadic templates and perfect forwarding. Container: Added [[no-discard]] attribute in all containers to catch bugs related to unused return values. Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead. Example: in MSVC 19 boost/container/vector.hpp preprocessed file size reduces from 1,5MB to 930KB. If you still want to use standard exception classes, you can define BOOST_CONTAINER_USE_STD_EXCEPTIONS before using any Boost.Container class. Fixed bugs/issues: GitHub #102: "flat_map::insert ambiguous with initializer list & pairs that need to convert". GitHub #139: "flat_map merge and iterators". GitHub #141: "small_vector does not propagate no throw properties of move operation of contained type". GitHub #164: "Compile error when using pmr::map with a std::pair; works when using a std::tuple". GitHub #171: "deque::clear() uses undefined behaviour". Core: Add implicit conversion between compatible reference wrappers. Add boost/core/cmath.hpp, a portable implementation of the floating point classification functions from <cmath>. Add boost/core/bit.hpp, a portable implementation of the C++20 standard header <bit>. Fix BOOST_TEST_EQ, BOOST_TEST_NE for character types under C++20. Revise allocator access utilities (now support VS2013, and no workarounds use allocator_traits.) DLL: BREAKING CHANGE: boost::dll::import was renamed to boost::dll::import_symbol to avoid collision with C++20 import keyword. Updated docs, including FAQ section. Filesystem: Updated compatibility with WASI platform. (PR#169) Fixed an exception being thrown by path::remove_filename if the path is "////". (#176) Fixed create_directories disregarding errors from file status query operations issued internally. This could result in incorrect error codes returned by create_directories. (#182) GIL: BREAKING: In next release, we are going to drop support for GCC 5. We will also change the required minimum C++ version from C++11 to C++14. Histogram: This release contains critical fixes, please check that your results are not affected. See Release Notes for details. Intrusive: Reduced compile-time dependencies: linear_slist_algorithms use a simple node_ptr instead of std::pair on return. list/slist use operator </operator == instead of std::equal_to/std::less. Fixed GitHub #54: set.rbegin() looks like O(log(N)) Interprocess: Added wchar_t API support for named resources in operating systems that offer native wide character API (e.g. Windows). The following classes were updated with wchar_t name support: file_mapping managed_mapped_file managed_shared_memory managed_windows_shared_memory shared_memory_object windows_shared_memory_object file_lock named_condition named_condition_any named_mutex named_recursive_mutex named_semaphore named_sharable_mutex named_upgradable_mutex message_queue Added BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION macro option to disable the use of generic emulation code for process shared synchronization primitives instead of native POSIX or Winapi functions. Fixed bugs: GitHub #76 ("Cygwin compilation errors"). GitHub #83 ("Add BOOST_INTERPROCESS_FORCE_NATIVE_EMULATION option"). GitHub #92 ("bufferstream: Correct MSVC compilation warning"). GitHub #106 ("Use fallocate on truncate_file"). GitHub #120 ("segment_manager customization"). GitHub #122 ("Mark constructors/assignment/swap noexcept where possible"). GitHub #126 ("_ReadWriteBarrier is deprecated warning when compiling with clang-cl.exe"). JSON: Security Report from Bishop Fox. (#481) Refactored value_from implementation; user customizations are now always preferred over library-provided overloads. (#484) Fix imprecise parsing for some floating point numbers. (#485) Fix link errors in standalone mode, when used alongside Boost. (#497) Fix Boost.Build builds on GCC 4.8. LexicalCast: Dropped dependency on Boost.Math (thanks to Peter Dimov #37, #39). Fixes for the CI and coverage (thanks to Sam Darwin from "The C++ Alliance" #38, #42). Log: Bug fixes: Corrected a formal race condition in the thread-safe log record queue implementation used in the unbounded_fifo_queue policy of the asynchronous_sink frontend. The race could be detected by TSAN, but it was not a real problem on most current CPU architectures and compilers. (#139) When copying a logger with a channel attribute (e.g. channel_logger), the channel attribute is now deep-copied from the original logger. This means that modifying the channel in the new logger will no longer affect the original logger. Replaced the use of std::allocator<void> in template parameters with a new tag type boost::log::use_std_allocator to silence libc++ warnings about the former being deprecated in C++17 and later. The tag indicates that the instantiated template should be using a specialization of std::allocator internally to allocate dynamic memory, so the change has no functional effect. (#141) Boost.Log no longer defines __MSVCRT_VERSION__ macro on MinGW and MinGW-w64. Defining this macro caused incompatibility with UCRT, which is available as an option in recent MinGW-w64. (PR#149) See changelog for more details. Math: Breaking Change: C++03 support is now removed, a C++11 or later conformant compiler is now required to use this library. Added Z-test. Added execution policy support to univariate and bivariate statistics: enables parallel execution (requires C++17 and <execution>). Big update/improvement on CI testing. Bivariate statistics now have integer support. T-Test now has integer support. Linear regression now has integer support. Correct PDF of the beta distribution at the endpoints. Correct use of Stirling's approximation in certain multiprecision cases, fixes #396. Eliminate -Wimplicit-int-float-conversion on clang. Fix some constexpr issues in quaternion/octonion. Minor performance fix to tanh_sinh integration. Update hypergeometric functions internal scaling to allow for 64-bit (long long) exponents with multiprecision types. Move: Git Issue #35: "New nothrow move traits are incomplete". Multiprecision: BREAKING CHANGE: Massive refactoring and code simplification makes C++11 an absolute requirement. Use BOOST_TRY/CATCH in headers so code can be used in exception-free environments. Correct corner case in pow, fixes #277. Correct exception type thrown to match docs in lsb/msb: fixes #257. Allow moves and operators between related but different types (ie types with the same allocator), fixes #278. Nowide: Fix discarding of characters for text file streams when seek or sync functions are used and newlines were converted (e.g. on Windows) Fix potential use-after-free bug when reusing (via open) a file stream that has been closed Fix potential invalid memory access when using a file stream that has been moved or swapped to where the source had a put-back character or was set to unbuffered mode Fix compatibility with ucrt runtime by not defining __MSVCRT_VERSION__ Known issues: Read performance for text files is degraded. Binary files and writing is unaffected. Optional: Fixed MSVC warning C4702. Outcome: Announcements: BREAKING CHANGE: After a year and three major Boost releases announcing this upcoming change, this is the FIRST RELEASE of the v2.2 branch. This branch has a number of major breaking changes to the Outcome v2.1 which shipped in Boost 1.75 and earlier, see the documentation for details. Enhancements: VS2019.8 changed how to enable Coroutines, which caused Outcome to not compile on that compiler. If on C++ 20, we now use C++ 20 [[likely]] instead of compiler-specific markup to indicate when TRY has likely success or failure. BREAKING CHANGE: Previously the value of spare_storage(const basic_result|basic_outcome *) noexcept was not propagated over BOOST_OUTCOME_TRY, which causes things like stack backtraces captured at the point of construction of an errored result to get dropped at every TRY point. This has been fixed by adding an optional spare_storage to success_type<T> and failure_type<T>, as well as to auto success(T &&, ...) and auto failure(T &&, ...). Bug fixes: 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. BREAKING CHANGE #244 It came as a shock to learn that BOOST_OUTCOME_TRY had been broken since the inception of this library for certain corner case code, which required a breaking change in how TRY works. See the changelog in the documentation for more detail. Parameter: Added a workaround for MSVC 2015 code miscompilation when an rvalue was used as a default value of a named parameter of a function. (PR#109, #132) PFR: Fixed reflection of types with missing const in SFINAE expressions in template constructor. Now reflection of aggregates with std::optional<std::chrono::duration??>> fields works on any Standard Library implementation, even if LWG3050 is not fixed. Comparison functions are now constexpr #52 Fixed numerous typos in docs (thanks to Phil Miller #63) PolyCollection: Worked around GCC bug affecting GCC versions 9.3-10.2 (issue #20). Predef: Version 1.13 Add ARCH_PPC_64 predef. Fix ARCH_WORD_BITS* redefinition warnings/errors. Add ARCH_E2K, Elbrus 2000, architecture from Konstantin Ivlev. Fix not handling recent C++ version that go above 10.x version. Version 1.12 Switch to using the endian.h header on OpenBSD. (Brad Smith) Fix not handling recent versions of stdcxx that go above version 9. Fix including sub-BSD OS headers directly causing redef warnings. Add CI testing of direct inclusion of all headers. Add CI testing on FreeBSD for clang and gcc. Add WORD_BITS set of predefs to detect the architecture word size. Initial implementation inspired by submission from Mikhail Komarov. Add CI testing for Cygwin 32 and 64. PropertyTree: Property Tree has a new maintainer. Fix usage of deprecated Boost.Bind features. Link to Wikipedia fixed. Use BOOST_OVERRIDE to fix GCC warnings. Add extensive CI testing. Regex: Regex is now header only except in C++03 mode. Support for C++03 is now deprecated. The library can now be used "standalone" without the rest of Boost being present. Stacktrace: Better support for pre-C++11 builds on clang #102. Bigger warning for do not use boost::stacktrace::stacktrace in signal handlers #71. TypeTraits: Fix for Visual Studio managed code projects. Variant2: Improved generated code for the double buffered case. Updated Tools Build: Includes release of B2 version 4.4.1. Compilers Tested Boost's primary test compilers are: Linux: Clang: 3.0, 4.0.1, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.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, 9.0.0, 10.0.0, 11.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0, 9.0.0, 10.0.0, 11.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 5.4.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++17: 9.1.0, 10.0.0, 11.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0, 11.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Boost's additional test compilers include: Linux: Clang: 3.0, 3.8.1, 3.9.1, 4.0.1, 5.0.2, 6.0.1 Clang, C++0x: 3.0 Clang, C++11: 3.0, 3.1, 3.2, 3.3, 3.4, 4.0.1, 6.0.1, 7.0.0, 8.0.0 Clang, C++14: 3.5.0, 3.6.0, 3.7.1, 3.8.0, 3.9.1, 4.0.0, 4.0.1, 5.0.2, 6.0.1, 7.0.0, 8.0.0 Clang, C++17: 5.0.2, 6.0.1, 7.0.0, 8.0.0 GCC: 4.4.7, 4.5.3, 4.6.3, 4.9.4, 5.4.0, 5.5.0, 8.0.1 GCC, C++0x: 4.4.7 GCC, C++11: 4.7.3, 4.8.5, 4.9.4, 5.4.0, 6.4.0, 7.1.0, 8.0.1 GCC, C++14: 5.4.0, 5.5.0, 6.3.0, 6.4.0, 7.1.0, 7.3.0, 8.0.1, 8.1.0 GCC, C++17: 7.3.0, 8.0.1 Intel, C++14: 18.0 OS X: Apple Clang: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++11: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++14: 9.0.0, 9.1.0, 10.0.0 Apple Clang, C++17: 9.1.0, 10.0.0 Apple Clang, C++1z: 9.0.0 Apple Clang, C++2a: 10.0.0 Windows: GCC: 3.4.5, 4.1.2, 4.2.4, 4.3.3, 4.4.0, 4.5.4 GCC, C++0x: 4.6.4 GCC, C++11: 4.7.3, 4.8.1, 4.9.3 GCC, C++14: 5.1.0, 5.2.0, 5.3.0, 6.1.0, 6.2.0, 6.3.0, 6.4.0 GCC, C++17: 7.1.0, 7.2.0, 7.3.0 Visual C++: 7.1, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 14.1 FreeBSD: Clang: 4.0.0 Clang, C++11: 4.0.0 Clang, C++14: 4.0.0 Clang, C++1z: 4.0.0 Acknowledgements Marshall Clow, Michael Caisse and Glen Fernandes managed this release. [Less]