Skip to content

Abseil LTS branch, Jan 2024, Patch 2

Latest
Compare
Choose a tag to compare
@derekmauro derekmauro released this 08 Apr 20:36
d7aaad8

Abseil LTS 20240116.2

What's New:

  • Added absl::NoDestructor<T> to simplify defining static types that do not need to be destructed upon program exit.
  • Added configurable verbose logging (also known as VLOG).
  • Added absl::Overload(), which returns a functor that provides overloads based on the functors passed to it. Note that this functionality requires C++17 or newer.
  • Bzlmod is now officially supported (previously it was supported by the community). Note that it may take several days after the release for it to become available in the Bazel Central Registry.

Breaking Changes:

  • AbslHashValue() no longer accepts C-style arrays as a parameter. Previously the array would decay to a pointer type, which could lead to subtle, unintended bugs. The most common potential error is passing a C-string literal. After this change, these call-sites require wrapping the literal in absl::string_view.
  • absl::weak_equality and absl::strong_equality have been removed. The corresponding std types were removed before C++20 was finalized (https://wg21.link/P1959R0).

Known Issues

  • None known at this time.

Baseline: 10f3e61
Cherry pick: 4a2c633
Cherry pick: 3ab97e7 (Patch 1)
Cherry pick: d7aaad8 (Patch 2)