20240116.2
版本发布时间: 2024-04-09 04:36:58
abseil/abseil-cpp最新发布版本:20240722.0(2024-08-02 02:09:08)
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 inabsl::string_view
. -
absl::weak_equality
andabsl::strong_equality
have been removed. The correspondingstd
types were removed before C++20 was finalized (https://wg21.link/P1959R0).
Known Issues
- None known at this time.
Baseline: 10f3e6117b1154ca8e7e744809d82988f0ff481d Cherry pick: 4a2c63365eff8823a5221db86ef490e828306f9d Cherry pick: 3ab97e7212bff931a201c794fa1331960158bbfa (Patch 1) Cherry pick: d7aaad83b488fd62bd51c81ecf16cd938532cc0a (Patch 2)
1、 abseil-cpp-20240116.2.tar.gz 2.05MB