20240722.0
版本发布时间: 2024-08-02 02:09:08
abseil/abseil-cpp最新发布版本:20240722.0(2024-08-02 02:09:08)
Abseil LTS 20240722.0
What's New:
- Added GoogleTest matchers for
absl::Status
. These matchers make it easier to write unit tests for code that usesabsl::Status
.
Breaking Changes:
-
absl::AlphaNum
no longer allows brace-initialization. This was never intended to be supported, nor is it recommended thatabsl::AlphaNum
ever be spelled in user code. - The deprecated symbol
absl::kuint128max
has been removed and should be replaced withabsl::Uint128Max()
. -
absl::aligned_storage_t
, which was a polyfill consistent withstd::aligned_storage_t
, has been removed.std::aligned_storage_t
is deprecated in C++23. See https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf for a suggested replacement. -
absl::StrJoin
now has aabsl::string_view
overload. This allows for passing a collection of string-like objects without having to convert everything to the same type first. However, this may be a breaking change for users passing an explicit template argument toabsl::StrJoin
. In this case, simply remove the explicit template parameter. -
vlog_is_on.h
is now a public header and is no longer included fromlog.h
. To useVLOG_IS_ON()
,absl/log/vlog_is_on.h
must be included.
Known Issues
- None known at this time.
Baseline: 3358286120d143e6a622652675b8b1b78447293c Cherry-pick: 21385900073e3ca2c4aefb13fd05ca2da40d5ff1 Cherry-pick: 9a0743ac27df5ec018974e605cf61db7652b26c1 Cherry-pick: 4447c7562e3bc702ade25105912dce503f0c4010
1、 abseil-cpp-20240722.0.tar.gz 2.14MB