New Libraries
Safe Numerics:
A library for guaranteed correct integer arithmetic for C++14 and later, from Robert Ramey.
Updated Libraries
Any:
Fixed issue with visibility. Now boost::any variables constructed in one shared library with hidden visibility could be used and destroyed in other shared library with hidden visibility.
Maintenance: dropped some dependencies on other Boost libraries, fixes for docs.
Asio:
Fixed a problem with the detection of std::future availability with libstdc++.
Fixed compile error in regex overload of read_until.
Fixed a timer heap corruption issue that can occur when moving a cancelled timer.
Fixed detection of std::experimental::string_view and std::string_view with newer clang/libc++.
Fixed MSVC version detection for availability of std::invoke_result.
Fixed the buffer sequence traits to test the new requirements, if decltype is available.
Fixed an MSVC issue when building with exceptions disabled.
Added SSL context options for TLS v1.3.
Added a compile-time test for TLS v1 support.
Fixed the macro used to test for TLS v1.2 support.
Prevented global objects from being created once per thread on Windows.
Fixed a crash when using size(), max_size() or empty() on default-constructed resolver results.
Changed to move the return value in basic_resolver_results::begin() to avoid copying.
Enabled move support for the Intel Compiler.
Fixed std::string_view detection issue when using clang-cl.
Fixed the handler tracking operation name for io_context::executor_type::dispatch.
Fixed a buffer overflow that could occur when parsing an address string with a 64-bit scope id.
Added examples showing how to write composed operations.
Added C++11 versions of the Timeouts, Timers, SOCKS4 and SSL examples.
Fixed minor issues in documentation and examples.
Assign:
Add rvalue reference, perfect forwarding, and variadic template support
Avoid conversion to container's allocator
Beast:
This version fixes some issues in the examples, and provides a new experimental socket which supports built-in timeouts on asynchronous operations.
New CppCon 2018 websocket chat example and presentation video.
For a complete list of changes, please view the official Release Notes.
CircularBuffer:
Use the empty base optimization for storing allocators that are empty and not final (Glen Fernandes).
Concept Check:
Removed dependency on mpl.
Context:
duplicate alias should be missing GCC alias
the clang-win toolset (clang-cl.exe) uses masm from the underlying msvc
remove useless lines in Jamfile.v2
add .file section for *_elf_gas.S files
Core:
Implemented boost::empty_value, for library authors to conveniently leverage the Empty Base Optimization to store objects of potentially empty types (Glen Fernandes). This facility is now used in Boost.Beast, Boost.CircularBuffer, Boost.MultiArray, and more.
Implemented boost::quick_exit to provide the C++11 standard library facility std::quick_exit functionality (Peter Dimov).
Reduced the number of statics in Lightweight Test, and employ lighter abort behavior for MSVC compilers upon failure to call boost::report_errors (Glen Fernandes).
DLL:
Resolved link issues with the smart library
Maintenance: fixes for docs and tests.
Dynamic Bitset:
Performance improvements (over 2x in some cases).
Added range-based set, reset, flip methods
Fiber:
unbuffered_channel push not return
Remove UTF-8 BOM at begining of the file
Fix boost-install use; should only be issued once
Filesystem:
Don't use readdir_r on Linux and Android since the readdir function is already thread-safe.
Fixed crashes in boost::filesystem::copy due to undefined behavior in the implementation.
Fixed undefined behavior in boost::filesystem::directory_iterator implementation.
Fixed compilation errors when using directory iterators with BOOST_FOREACH.
Removed workarounds for older PGI C++ compiler versions to fix compilation on the newer ones.
Fixed MSVC warnings about narrowing conversions.
Flyweight:
Fixed some issues in GCC related to Boost.MPL placeholder expression handling.
Maintenance fixes.
Function:
Removed dependencies on mpl, test
Geometry:
Karney's solution of direct geodesic problem for internal use
Discrete Frechet and Hausdorff distance algorithms
New run-time and upgraded compile-time SRS transformation interfaces (undocumented for now due to potential interface changes).
Integer:
boost/pending/integer_log2.hpp header is deprecated and will be removed in future releases. Use boost/integer/integer_log2.hpp instead.
Iostreams:
Remove call to nonexistent member seekpos() of std::fpos
Iterator:
Fixed compilation problems with ambiguous unqualified calls to advance and distance on iterators whose types involve types in the namespace boost.
LexicalCast:
Fixed sign-conversion warnings
Maintenance: dropped some dependencies on other Boost libraries, fixed build system warnings.
Log:
General changes:
Updated syslog sink backend to avoid using deprecated Boost.ASIO interfaces.
Bug fixes:
Fixed a possible incorrect estimation of the total size of rotated files in the target directory of a text file sink in some cases.
See changelog for more details.
Logic:
Breaking change: Use explicit operator bool when available
Math:
Add LambertW functions.
Update integration routines to support complex valued integrands and contour integrals.
Added the derivative of the Barycentric rational approximation.
Minor fixes to better support variable precision floating point types.
Removed use of deprecated Boost.Endian in favour of Predef.
Updated continued fraction and series evaluation code to support complex types.
Prevent logic error leading to infinite loop in toms748_solve.
Fix mean and standard_deviation for extreme_value_distribution.
Improve heuristics used in newton_raphson_iterate.
Fix result of erf(NaN).
Big push to reduce GCC warnings.
Refactor polynomial addition.
Fix for vxWorks having a real function in the global namespace.
Improve sinc approximations and add better tests.
Fix typo in Student's T hypothesis testing documentation,
Mp11:
Implemented the mp_starts_with facility (Glen Fernandes).
MultiArray:
Improve C++11 allocator model support including: Support for C++11 minimal allocators, support for stateful allocators, using the allocator for construction and destruction of the value type, and using the empty base optimization for storing empty or stateless allocators (Glen Fernandes).
Multi-index Containers:
Introduced an alternative terse key specification syntax for C++17 compliant environments.
Multiprecision:
Big update to better support variable precision types so that the precision of the result is always the largest of all the arguments.
Add support for allocators that are final in __cpp_int (Glen Fernandes).
Removed use of deprecated Boost.Endian in favour of Predef.
Add support for std::string_view.
Fixed minor bug in constant initialization.
Make assignment of non-finite value to cpp_int a runtime errors.
Added typedefs for cpp_bin_float_oct and cpp_complex_oct.
PolyCollection:
Added Bost.PolyCollection-specific versions of algorithms std::for_each_n and std::sample.
Pool:
Replace boost::mutex use to avoid a dependency on Boost.Thread
Preprocessor:
Supports the new C++ standard conforming preprocessor in VC++ 14.1, which is currently enabled by using the /experimental:preprocessor switch, in Visual Studio 2017 15.8 on up.
Rational:
Add constexpr support
Spirit.X3:
Drop own FP routines in favor of boost::math
Missing visibility mark on exception types
to_utf8: Fixed wchar_t handling on Windows
Spirit V2
Drop own FP routines in favor of boost::math
Missing visibility mark on exception types
Fixed transform_attribute ambiguity
to_utf8: Fixed wchar_t handling on Windows
Spirit.Classic:
Missing visibility mark on exception types
Stacktrace:
libbacktrace usage was significantly improved. BOOST_STACKTRACE_USE_BACKTRACE or boost_stacktrace_backtrace users are encouraged to update:
Memory consumprion dropped down.
Stack capturing became faster by an order of magnitude.
syminfo fallback enabled to provide information for visible symbols even without debug information
Exact location of the backtrace.h header now can be specified via BOOST_STACKTRACE_BACKTRACE_INCLUDE_FILE, to allow backtrace.h header usage on platforms and compilers where that header is unreachable otherwise (for example Ubuntu Xenial + Clang)
Optimized stack capturing if max_depth is set
Added to_string(const stacktrace& ) functions for fast conversion of stacktraces to std::string
System:
Boost.System is now header-only. A stub library is still built for compatibility, but linking to it is no longer necessary.
Even more functions have been marked constexpr.
The destructor of error_category is now protected and no longer virtual. This is a potentially breaking change, but its impact is expected to be limited.
error_category now has a constructor that accepts a 64 bit identifier, enabling distinct category objects to compare equal.
The constructors of error_category are now protected.
A non-allocating, nonthrowing overload of message has been added.
A virtual function failed has been added, allowing categories for which success is not synonymous with 0.
The deprecated boost::system::throws object has been removed.
boost::throws() is now deprecated and its use is discouraged.
The constructor of system_error taking a single error_code argument is now explicit.
system_error::code() now returns by value.
Test:
Boost.test v3.9 see the Changes log for more details.
New feature:
Official support of header-only variant of Boost.Test with multiple translation units.
Now possible to manually add a test case by specifying its name, with BOOST_TEST_CASE_NAME
Better support of boost::exception in the logs
TypeIndex:
Fix the regression and speed up parsing of the boost/type_traits.hpp header by 30%
Utility:
Added support for non-inheritable empty types to boost::compressed_pair by avoiding the empty base optimization for types which are declared as final (Glen Fernandes).
Variant:
Fixed issue with visibility. Now boost::bad_visit exception could cross the boundaries of shared library with hidden visibility and could be catched in other shared library with hidden visibility.
YAP:
Minor changes to support MSVC++ version 14.15 (Visual Studio 2017 version 15.8).
Doc fixes.
Use the pregenerated file instead.
The configure step is only intended to be used as a base
when porting to new platforms, and as-is it didn't use the
same flags that were used in other places.
See https://github.com/boostorg/config/issues/240 for more details.
Bump PKGREVISION.
This should properly fix PR pkg/53543 (also remove the big `XXX'
comment, this is a proper solution to the problem).
Thanks to <joerg> for suggesting that!
At least devel/boost-libs can fail due an `Argument list too long' due the use
of `+' in ${FIND}. Revert -r1.74 in order to use `\;' instead (and add a big XXX
comment regarding that).
1.68.0:
New Libraries
YAP:
An expression template library for C++14 and later, from Zach Laine.
Updated Libraries
Beast:
This version fixes a missing executor work guard in all composed operations used in the implementation. Users who are experiencing crashes related to asynchronous completion handlers are encouraged to upgrade.
For a complete list of changes, please view the official Release Notes.
Context:
78: Linker error with context-impl=ucontext: multiple definition of boost::context::detail::current_rec
Coroutine2:
14: crash while stack unwinding
18: some guidance on why to use coroutine2
20: failes to compile test in due to the error C2039
22: undefined behaviour documentation
Fiber:
170: buffered_channel::try_push has incorrect documentation
172: WIN64: 'invalid conversion from 'HANDLE' to 'std:🧵:native_handle_type' errors for builds using mingw-w64
175: throw exception "Operation not permitted"
NUMA support moved to extra library (fiber-numa); enabled via property numa (numa=on)
Fusion:
Added a workaround for ambiguous call of fusion::deque constructor on GCC 4.4/c++0x
Fixed a bug with C-style array
Fixed a fusion::for_each signature to take functor by value
This may break existing code with non-copyable (non-movable) functor, but the implementation wasn't correct for a long time; the documantation was correct from the first. So, please make sure your usage.
Fixed unintentional MPL placeholder substituion bug on fusion::transform.
Moved description, how to conform Fusion sequence as MPL sequence, to mpl section.
Added notes regarding IO facility for adapted type.
Geometry:
Improvements
469 Horizontal grid shift (nadgrids) in SRS transformations (undocumented for now due to potential interface changes).
478 Box-Segment distance for spherical and geographic coordinate systems.
487 Missing combinations of geometries in distance for spherical and geographic cs
489 Additional direct geodesic problem formulas for internal use
Solved issues
470 Assertion failure with short spherical and geographic segments.
471 Invalid envelope of spherical polygon
498 Unexpected results with expand() and make_inverse() for spherical and geographic CS
Bugfixes
488 Handle non-true-references in closing_iterator and ever_circling_range_iterator
495 VxWorks 7 cross-compilation issue.
GIL:
The I/O extensions have been entirely rewritten.
The library now requires a C++11-compliant compiler.
Documentation has been reformatted and updated.
Graph:
Conditionally replace deprecated/removed C++98 std::bind1st by std::bind, std::auto_ptr by std::unique_ptr, and std::random_shuffle by std::shuffle.
Fix compiler error with release builds on VS2015
Fix the Stanford GraphBase examples
Fix friend declarations for iterator_core_access
Add missing <boost/iterator.hpp> include
Avoid an unused variable warning
Fix some typos in documentation
Fix some issues in tests and examples
Lexical Cast:
Fixes for clang-tidy warnings 12092
Log:
Improved support for VxWorks.
Save and restore ebx register on x86 PIE targets in the dump stream manipulator implementation.
Math:
Support for arbitrary precision complex valued quadrature and hence contour integration
Improve performance of polynomial addition
Math:
Continue to improve numerical integration routines, and in particular add support for contour integrals.
Improve accuracy of erfc function's rational approximations.
Multi-index Containers:
Containers of moveable but non-copyable elements can now be serialized (ticket 13478). Thanks to Sébastien Paris for the report.
multi_index_container's default constructor is no longer explicit (ticket 13518).
Multiprecision:
Support for multiprecision complex numbers
Multiprecision:
Support added for complex multiprecision numbers.
Changed conversion to unsigned integer types to be truncating to match standard defined behaviour.
Correct bug in MPFR string formatting.
Fix undefined behaviour in cpp_dec_float conversion from long long.
Add support for Eigen interoperability.
float128.hpp: Fix Intel on Windows build.
Fix type used in temporaries when expanding expression templates containing mixed expressions.
Fix infinite loop in gmp_float to fixed-point string conversion.
Update the expression templates to issue static_asserts with better error messages when you try and do something unsupported.
Fix bug in cpp_int where incrementing to zero doesn't set the sign correctly.
Remove erroneous use of std::move, and rely on NVRO instead.
Fix up support for changes to MPIR-3.0.
Fix various conversion errors in cpp_bin_float when the exponent type is a long long, or else we're converting to an integer that is wider than we are.
Fix compatibility issue with GCC-8 caused by the introduction of std::byte.
Optional:
Added member function has_value() for compatibility with std::optional (issue 52).
Added member function map() for transforming optional<T> into optional<U> using a function of type T -> U.
Added member function flat_map() for transforming optional<T> into optional<U> using a function of type T -> optonal<U>.
Predef:
Add support for __ARM_ARCH macro.
Add detection for PTX architecture.
Add nvcc compiler detection.
Add support for detecting CUDA.
Remove reference to obsolete BOOST_ARCH_AMD64.
Program Options:
Support for multiple long names for an option, thanks to Eyal Rozenberg
Python:
Bug fixes to correct autolink support (Windows)
Rational:
Fixed undefined behavior in normalize()
System:
Add constexpr to error_code and error_condition members under C++14 and above
Signals:
Removal Notice: Boost.Signals will be removed in the next release. Boost.Signals was deprecated in version 1.54.0. Transition to Boost.Signals2 now to avoid disruption.
Stacktrace:
Fixed compilation on Solaris and other platforms that do qualify address as const in dladdr function (github 54).
Dropped dependency on Boost.LexicalCast.
Test:
Boost.test v3.8 see the Changes log for more details.
Breaking changes
The master_test_suite_t object is no more copyable
New feature:
Dataset test case can now use command line parameters
TypeIndex:
Dropped dependency on Boost.MPL.
Uuid:
Breaking change: sha1 detail namespace header redirection for backwards compatibility was removed
Added support for std::hash
Added support for move semantics on random generators
Properly handle EINTR when acquiring entropy
Use getrandom(2) instead of getentropy(3) on linux
Version 1.67.0:
New Libraries:
- Contract: Contract programming for C++.
- HOF: Higher-order functions for C++.
Updated Libraries:
- Asio:
Added missing const qualifier to basic_socket_acceptor::get_option.
Worked around a parsing error that occurs with some versions of gcc.
Fixed broken code samples in tutorial.
Added new experimental features. (Note that "experimental" features may be changed without notice in subsequent releases.)
Added experimental::detached completion token.
Added experimental::redirect_error completion token.
Added experimental::co_spawn facility for integration with the coroutines technical specification.
Updated timeout examples to use latest features.
Used asio::steady_timer rather than asio::deadline_timer.
Used asio::dynamic_buffer rather than asio::streambuf.
Used timed asio::io_context::run_for() function for blocking clients.
Added example showing a custom completion token for blocking with timeouts.
Fixed unit tests to compile when BOOST_ASIO_NO_DEPRECATED is defined.
Changed socket iostreams to use chrono by default, to fix compatibility with the Networking TS. Define BOOST_ASIO_USE_BOOST_DATE_TIME_FOR_SOCKET_IOSTREAM to enable the old Boost.Date_Time interface in basic_socket_streambuf and basic_socket_iostream.
Updated examples to use chrono rather than Boost.Date_Time.
Fixed an incorrect member function detector in the is_dynamic_buffer trait.
Fixed an async_result incompatibility with deprecated handler_type.
Added a missing move optimisation in the SSL stream implementation.
Fixed incorrect basic_resolver_results::value_type typedef.
Fixed a compile error with some OpenSSL versions when SSL_OP_NO_COMPRESSION is defined.
Changed add_certificate_authority to process multiple certificates in a bundle.
Eliminated deprecation warning with MSVC by using std::invoke_result rather than std::result_of.
Changed to use std::string_view for C++17 or later, and std::experimental::string_view for C++14. Define the preprocessor macro BOOST_ASIO_DISABLE_STD_STRING_VIEW to force the use of std::experimental::string_view (assuming it is available) when compiling in C++17 mode.
Ensured DynamicBuffer template arguments are decayed before using in enable_if tests.
Changed documentation to distinguish legacy completion handlers (which are still required to be CopyConstructible) from new MoveConstructible handlers.
Suppressed a discarded return value warning in the buffer debugging support.
Fixed basic_yield_context to work with completion signatures containing reference parameters.
Ensured that stackful coroutines launched using spawn() correctly store decayed copies of their function and handler arguments.
Fixed some compatibility issues with Android.
Added cross-compilation support to Jamfiles.
Fixed some minor portability issues in examples.
- Atomic:
Breaking change: Changed the result of the (op)_and_test operations added in Boost 1.66 to the opposite - the functions now return true if the operation result is non-zero. This is consistent with other test methods in Boost.Atomic and the C++ standard library. Users can define BOOST_ATOMIC_DETAIL_HIGHLIGHT_OP_AND_TEST when compiling their code to emit warnings on every use of the changed functions. This way users can locate the code that needs to be updated.
Update for C++2a. On C++11 compilers that support scoped enums, the memory_order enumeration is now scoped and contains constants with shorter names like acquire, release or seq_cst (i.e. users can use memory_order::acquire instead of memory_order_acquire). The old constants are also provided for backward compatibility. (P0439R0)
Update for C++2a. Added experimental support for atomic operations on floating point types. In addition to general operations, add, sub, negate operations and their fetch_(op) and opaque_(op) versions are supported. Lock-free property can be tested with the new macros BOOST_ATOMIC_FLOAT/DOUBLE/LONG_DOUBLE_LOCK_FREE. The support for floating point types is optional and can be disabled by defining BOOST_ATOMIC_NO_FLOATING_POINT. (P0020R6)
Added new experimental operations:
negate_and_test and complement_and_test which perform negation or bitwise complement and return true if the result is not zero.
add, sub, negate, bitwise_and, bitwise_or, bitwise_xor, bitwise_complement operations which perform the operation and return its result.
For generic atomic<T> specialization, the default constructor is now trivial if T's default constructor is.
The internal implementation of atomic<T> has been updated to avoid undefined behavior that stems from signed integer overflows. As required by the C++ standard, the library uses two's complement representation of signed integers internally and accroding rules of overflow. Currently, the library requires the native signed integer types to also use two's complement representation (but no defined overflow semantics).
Improved Clang support. In particular, fixed DCAS not being lock-free and fixed possible incorrect code generated on 32-bit x86.
Improved MinGW support. For gcc versions up to 4.6, fixed compilation of DCAS on x86.
In x86 PIE code, asm blocks now preserve ebx value.
- Beast:
This version fixes significant defects in websocket::stream which can lead to asserts or undefined behavior. Users are encouraged to update to the latest Boost release.
For a complete list of changes, please view the official Release Notes.
- ContainerHash:
Extracted from the functional module to break a dependency cycle.
Moved headers to new location to reflect name change, the old include paths will still work.
Added support for std::string_view, std::error_code, std::error_condition, std::optional, std::variant, std::monostate where available.
Added explicit support for vector<bool>, so that it will work with libc++.
More detail in the library change log.
- Context:
fix i386/macho routines to correctly return transfer_t in EAX/EDX
__sanitizer_finish_switch_fiber should be called directly after context switch
Clang on Windows : error: No best alternative for libs/context/build/asm_sources
fixing C2492 for execution_context (v1)
known bug: including all.hpp + <context-impl>ucontext/winfib causes error 'forced_unwind: is not a member of boost::context::detail'
More info https://www.boost.org/users/history/version_1_67_0.html
This changes the package for anyone that used it with C++17 experimental
support and now won't get it (we're cutting off at 'actual C++17').
Bump headers PKGREVISION, suggested by joerg.
1.66.0:
New Libraries
Beast:
Portable HTTP, WebSocket, and network operations using only C++11 and Boost.Asio, from Vinnie Falco.
CallableTraits:
A spiritual successor to Boost.FunctionTypes, Boost.CallableTraits is a header-only C++11 library for the compile-time inspection and manipulation of all 'callable' types. Additional support for C++17 features, from Barrett Adair.
Mp11:
A C++11 metaprogramming library, from Peter Dimov.
Fixes in 1.65.1
Config:
* Version macro changes for CUDA.
* Update last known MSVC version.
* MSVC 14.11 supports structured bindings.
Context:
* Return a continuation from functions executed by resume_with.
Fiber:
* Return a continuation from functions executed by resume_with.
Smart Pointers:
* Fix Visual C++ version checks.
* Fix compilation for NVCC with host compiler clang.
Stacktrace:
* Update build testing file to detail with a MinGW issue.
* Change preprocessor file extensions to work with the installation system.
* Support FreeBSD and other OSs that do not define _GNU_SOURCE but have _Unwind_Backtrace function.
Thread:
* Fix bug in boost::condition_variable on Windows
assembler complains:
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:55: Error: selected processor does not support `vstmia sp,{d8-d15}' in ARM mode
libs/context/src/asm/ontop_arm_aapcs_elf_gas.S:69: Error: selected processor does not support `vldmia sp,{d8-d15}' in ARM mode
XXX what about VFP4 ?
Should fix PR pkg/52425.
No PKGREVISION change, as this doesn't change packages which did sucessfully
build before.
New Libraries
Process library by Klemens D. Morgenstern, that provides cross platorm ways to allows you to:
* create child processes
* setup streams for child processes
* communicate with child processes through streams (synchronously or asynchronously)
* wait for processes to exit (synchronously or asynchronously)
* terminate processes
distfile. This is the same as before my previous commit, but into a versioned
subdirectory.
Automatic fetch from sourceforge will probably fail (I get three different
checksums for different tries), but I've also uploaded this to ftp.NetBSD.org,
so the failover fetches will work, eventually.
(Keep MASTER_SITES for updates.)
Atomic:
* Added the static constant atomic<T>::is_always_lock_free for conformance with C++17. The constant indicates that the given specialization always provides lock-free implementation of atomic operations.
* Improved support of Oracle Studio on x86 targets.
Container:
* Fixed bugs
Context:
* 11687 Xcode (Apple clang) and thread_local
* 12114 context does not preserve fpu context on ios arm64 devices (fixed for other architecturs too)
* 12411 fpu registers not preserved with O2 optimizations in Visual Studio (fixed for other architecturs too)
* 12551 building boost on arm64 causes error: unknown directive
* reduced signatur for ontop-functions
* unit-test for private fcontext-API
* performance-test for ucontext and fcontext fixed
Fiber:
* unbounded_channel and bounded_channel marked as deprecated
* new classes buffered_channel and unbuffered_channel
* performance improved
Fusion:
* Fixed fusion::vector buggy constructors (Thanks to Lee Clagett).
* BOOST_FUSION_ADAPT* and BOOST_FUSION_DEFINE* now allow empty structures. (6592)
* BOOST_FUSION_DEFINE* allows move constructor and assignment. (10099)
* Adaptor for std::array (Thanks to Mateusz Łoskot). (8241)
* Fixed returning temporary variable warnings on MSVC.
Geometry:
* Intersection: take care that output is valid (work in progres, not yet finished - but more is valid)
* 12289 Avoid warning/compilation error for std::cout
* 12412 Invalid result of covered_by() with geographic Points and Boxes
* 12413 rtree::remove() not working properly with geographic Points
Hash:
* Fixed some warnings.
Interprocess:
* Fixed bugs
Intrusive:
* Fixed bugs
Lexical Cast:
* Fixed issue found by -fsanitize=undefined 21
Log:
* Removed the previously deprecated type_info_wrapper.
* Added a way to access the current file name from the text file sink backend. The file name can be obtained with the get_current_file_name method.
* Bug fixes
Metaparse:
* Improved the implementation of BOOST_METAPARSE_STRING
Move:
* Improved experimental adaptive sort algorithm performance
* Activate BOOST_MOVE_FORCEINLINE
Optional:
* Added two new in-place constructors. They work similarly to emplace() functions: they initialize the contained value by perfect-forwarding the obtained arguments. One constructor always initializes the contained value, the other based on a boolean condition.
* Syntax o = {} now correctly un-initializes an optional, just like in std::optional.
* Fixed optional<optional<T>&> initialization. (12203)
* Optional constructors are sfinae-friendly. This fixes interaction with std::tuple. (12563)
Phoenix:
* Most of modules now support C++11 variadic templates.
* Fixed type deduction failure with result type.
* Suppress unused warnings.
* Fixed too few arguments error on binary math functions.
* Added workarounds for older compiler.
Python:
* Added (basic) support for C++11 (std::shared_ptr, std::unique_ptr)
* Incorporated an extension API to wrap NumPy
* Removed obsolete bits and pieces
Test:
* Boost.test v3.4 see the Change log section for more details.
* New feature: per_element and lexicographic modifiers of BOOST_TEST can also be applied to string comparison
* Breaking change: colons that appear in test case names are replaced with underscores
* Bug fixes
TypeIndex:
* Added runtime_cast to the library as an emulation of dynamic_cast. Thanks to Chris Glover for the implementation. See runtime_cast reference for more info.
* Internals of the CTTI were made more platform independant, due to change of the std::size_t type to unsigned int.
Units:
* Fix inspection warnings
* updated physico-chemical constants to CODATA 2014 values
* define biot correctly as 10 Ampere
Unordered:
* Fix an exception safety issue in assignment.
* Use std::allocator_traits where available, and support modern style rebind (12459).
* Add some allocator aware constructors.
* Use the hint iterator in emplace_hint.
* Fixed some warnings.
New Libraries
-------------
Fiber:
* Framework for userland-threads/fibers, from Oliver Kowalke.
QVM:
* Boost QVM is a generic library for working with quaternions, vectors and matrices of static size with the emphasis on 2, 3 and 4-dimensional operations needed in graphics, video games and simulation applications, from Emil Dotchevski.
Updated Libraries
-----------------
Atomic:
* Improved support for Oracle Studio and SPARC. The library now provides native atomic operations on SPARCv8+.
Chrono:
* 11330 boost::chrono::duration default constructor doesn't initialize rep_
* 11618 Chrono IO V2 doc ios_state.hpp does not exist
* 11631 boost chrono io v2 does not let you support custom clocks
Circular Buffer:
* Debug implementation is no longer used by default in debug mode. Debug implementation does not have the same thread safety guarantees as the normal (release) implementation or other containers. As a result of this change BOOST_CB_DISABLE_DEBUG macro is no longer used. BOOST_CB_ENABLE_DEBUG=1 should be defined instead to enable debug support.
Container:
* Fixed bugs:
Trac 9481: "Minor comment typo in Boost.Container".
Trac 9689: "Add piecewise_construct to boost::container".
Trac 11170: "Doc slip for index_of".
Trac 11802: "Incorrect ordering after using insert() with ordered_range_t on a flat_multiset with a non-default sort order".
Trac 12117: "flat_set constructor with ordered_unique_range".
Trac 12177: "vector::priv_merge uses unqualified uintptr_t".
Trac 12183: "GCC 6.1 thinks boost::container::string violates strict aliasing".
Trac 12256: "set<std::pair<int,int>>::insert cause compilation error in debug configuration in Visual Studio 2012".
Trac 12273: "static_vector max_size() and capacity() should be constant expressions". Added constant static_vector<>::static_capacity to use the configured capacity in constant expressions.
Trac 12286: "PMR flat_map from Boost Container does not compile".
Trac 12296: "{deque,string} combine for a memory leak".
Trac 12319: "flat_set should be nothrow move constructible".
* Revised noexcept expressions of default and move constructors in all containers.
* Implemented C++17 insert_or_assign/try_emplace for map and flat_map.
* Implemented C++17 extract/insert(node) for map, multimap, set, multiset.
Context:
* 12215 all stack corrupted on Windows using default fixedsize_stack
* 12242 build issue with Intel C++ compiler for MacOS
* fix stack unwinding for execution_context_v1
Coroutine:
* deprecated in favour of Coroutine2
Coroutine2:
* 12221 coroutine<>::push_type function starts without pushing
* do not swallow exceptions thrown at coroutine<>::push_type construction
DLL:
* Mangled symbols and classes loading was implemented by Klemens Morgenstern
* Suppress a 'unused parameter' warning in detail::aggressive_ptr_cast pull-request 9
* Allowed to query non-existant sections pull-request 32
* More tests and docs
Functional/Forward:
* Fix C++11 compile error.
Interprocess:
* Fixed bug GitHub Pull 27 ("Fix undefined behavior").
Intrusive:
* Fixed bugs:
Boost Trac 11476: has_member_function_callable_with.hpp is massively broken with BOOST_NO_CXX11_DECLTYPE
Boost Trac 11994: Support intrusive container key extractors that return the key by value
Boost Trac 12184: clang -Wdocumentation warning
Boost Trac 12190: Intrusive List + Flat Map combination crashes
Boost Trac 12229: intrusive::unordered_set<T>::rehash() broken
Boost Trac 12245: bstree uses a shared static size_traits for constant_time_size<false>
Lexical Cast:
* Fix incorrect static assertion 11759
Log:
* New features:
Added new tools for inter-process logging on a local machine. The implementation includes a resource name wrapper, an inter-process message queue and a sink backend.
Added a new character decorator called max_size_decor. The new decorator allows to limit the output of its adopted formatter up to the specified length.
* Bug fixes:
Fixed that logging streams could retain formatting settings across different log records. (12178)
See changelog for more details.
Math:
* New Features:
Enabled all the special function code to work correctly with types whose precision can change at runtime: for example type mpfr_float from Boost.Multiprecision.
* Patches:
Fix tgamma_delta_ratio for cases where the delta is small compared to the base.
Fix misc GCC-4.4 test failures.
Optional:
* Fixed Trac 12179.
Phoenix:
* Fix compilation for MSVC 10. pull-request 18
* Remove unused preprocessed files. pull-request 28
* Fix erroneous doc for switch_ statement. 8156
* Cleanup config unordered. pull-request 33
* Suppress unused placeholder warnings.
* Fix too few arguments error on binary math functions.
Regex:
* Fix buffer over-run error when parsing certain invalid regexes, see 12222.
* Fix detection of ICU in library build, see 12152.
* Fix bug in case sensitivity change, see 11940.
* Allow types wider than int in \x{} expressions (for char32_t etc), see 11988.
Test:
* Boost.test v3.3 see the Change log section for more details.
* New features
dataset driven test-cases have now a unique name and all sample tests of a dataset live inside the same test suite
Boost.test learned a new command line switch, --logger for setting a test logger as well as its parameter in one command
Boost.test learned to have several loggers at the same time, each of which having their own log level and output stream
Boost.test learned a new logger, JUNIT, that is able to output Junit/xUnit compatible streams
It is now possible to specify several test filters through the environment variable BOOST_TEST_RUN_FILTERS
* Bug fixes
Trac tickets 8707, 8834, 11128, 11845, 11859, 12024,
Trac tickets 12093, 12103, 12224, 12241, 12257, 12378
Thread:
* 12102 condition_variable_fwd.hpp fails to compile when BOOST_THREAD_PROVIDES_INTERRUPTIONS is disabled
* 12120 Performance improvement in thread/barrier.hpp
* 12146 make_exceptional_future is not mentioned in the docs
* 12202 shared_lock should be in shared_mutex header
* 12371 boost thread/future.hpp fails to build
* 88 fix typos in boost::upgrade_lock
* 89 fix a bug in upgrade_to_unique_lock<>::operator=()
* 90 fix a bug in try_lock_wrapper<>::operator=()
* 91 Add shared_lock_guard to the included lock types
* 92 Fixed compilation with MSVC-8.
* 93 Fix variable shadowing warnings (Clang)
* 94 fix bugs in boost::barrier
* 95 fix a mistake in boost::completion_latch
* 96 rename async_func.hpp to invoker.hpp.
* 97 fix a mistake in sync_timed_queue<>::pull_until()
TypeIndex:
* ctti_type_index was made constexpr in C++14. Now it is possible to retrieve actual name of the type as const char* at compile time. So we can do a lot of interesting things at compile time: check namespace of a type, sort types according to their lexical representation, check that type is a template type and so on... A few examples were provided.
* Fixed issue with noexcept on MSVC in type names and issue with space in type name (pulled from klemens-morgenstern/develop)
* Fixed typos pull-request 7
* Improved CI testing
Unordered:
* Remove use of deprecated boost::iterator.
* Fixed an exception safety issue in assignment of unordered_multiset and unordered_multimap.
* See the changelog for more details.
Variant:
* Fixed variant construction from classes derived from variant 7120, 10278, 12155
* Variant constructors and assignment operators now do not participate in overload resolutions if variant can not hold the input type 5871, 11602
* Fixed the issue with implicit conversion operator in C++11 8555
* Fixed comparisons when variant holds non-const reference 11751
* Fixed noexcept for variant's move-assignment 11696
* Fixed double quotes in includes 12057
* Dropped BOOST_VARIANT_NO_REFERENCE_SUPPORT macro and dropped support for compilers without SFINAE 12250
* Suppress implicit instantiation of MPL end iterator
* Multiple minor fixes (typos, missing includes)