Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Release Notes

Boost 1.93 Release
Boost 1.91 Release
Boost 1.90 Release
Boost 1.88 Release
Boost 1.87 Release
Boost 1.85 Release
Boost 1.81 Release
Boost 1.79 Release
Boost 1.78 Release
Boost 1.77 Release
Boost 1.76 Release
Boost 1.75 Release
Boost 1.73 Release
Boost 1.71 Release
Boost 1.70 Release
Boost 1.69 Release
Boost 1.67 Release
Boost 1.66 Release
Boost 1.65 Release
Boost 1.64 Release
Boost 1.62 Release
Boost 1.61 Release
Boost 1.60 Release
Boost 1.59 Release
Boost 1.58 Release
Boost 1.57 Release
Boost 1.56 Release
Boost 1.55 Release
Boost 1.54 Release
Boost 1.53 Release
Boost 1.51 Release
Boost 1.49 Release
  • Fixed stability bugs both in adaptive_merge and adaptive_sort.
  • Significantly improved performance of adaptive algorithms. Up to 4x faster in some corner cases.
  • Fixed bugs in internal traits and compiler-intrinsic detection.
  • move_iterator now correctly handles proxy and const reference types.
  • Implemented C++23 forward_like utility.
  • Deprecated BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE, it will be removed in a future release. It has no effect in C++03, and the boost::move(first, last, result) algorithm is not available unless <algorithm> is included before the Boost.Move headers. A message is printed when the macro is defined (define BOOST_ALLOW_DEPRECATED or BOOST_ALLOW_DEPRECATED_SYMBOLS to remove it).
  • unique_ptr changes:
    • unique_ptr is now marked with the trivial_abi attribute when the compiler supports it (Clang targeting Itanium ABI), so it is passed and returned in registers. This changes the calling convention so it must be consistent when passing across translation units. Define BOOST_MOVE_DISABLE_TRIVIAL_ABI to keep the old calling convention.
    • Fixed unique_ptr bugs that were non-standard.
    • Added full constexpr support to unique_ptr in C++20 mode.
    • unique_ptr constructors and operators that are not valid for the deleter or element type do not participate in overload resolution in C++11 and later (C++17's LWG 2801 and LWG 2905), so type traits give correct results.
    • Added a documentation chapter for unique_ptr (Smart pointer unique_ptr).
    • has_trivial_destructor_after_move is now true for unique_ptr when the pointer type is trivially destructible and the deleter is a reference or has a trivial destructor after move. Containers such as boost::container::vector then do not destroy moved-from unique_ptr elements.
    • Added limited hash_value support for unique_ptr, so that it can be used with boost::hash and Boost.Unordered.
    • Added make_unique_for_overwrite, the C++20 name of make_unique_definit.
    • Added the stream output operator (operator<<) for unique_ptr, without including <iosfwd>.
  • A systematic, AI-assisted review of the library found and fixed many bugs that users did not report. The main types of bugs are:
    • Type traits: incorrect results of is_convertible, is_constructible, is_copy_constructible, is_move_constructible, alignment_of, is_unsigned, is_nothrow_swappable and the trivial and nothrow traits for abstract classes, arrays, functions, over-aligned types, POD types with deleted special members.
    • Exception safety: leaks algorithms when a move assignment throws.
    • Sort and merge algorithms: stability bugs in adaptive_sort and adaptive_merge.
    • Iterators and swap: proxy iterators in move_iterator, adl_move_iter_swap and adl_move_swap_ranges.
    • unique_ptr: deleter checks, get_deleter() with reference deleters, noexcept conditions, and comparisons with nullptr.
  • Fixed bugs:

Forward declarations of std types cause compilation errors on some platforms #292

  • Added pdqsort and heap_sort implementations, initially as a detail, they will be official in the future once better tested.
  • Better header segregation (bug #6524).
  • Small documentation fixes
  • Replaced deprecated BOOST_NO_XXXX with newer BOOST_NO_CXX11_XXX macros.
  • Fixed #7830, #7832.

PrevUpHomeNext