New
Abseil LTS branch, May 2025
Abseil LTS 20250512.0
What's New:
- The polyfill types
absl::any,absl::optional, andabsl::variantare now aliases forstd::any,std::optional, andstd::variantin all builds. (Note that the polyfill implementationabsl::string_viewremains at the present time, but it defaults to being an aliasstd::string_viewin all builds.) - Added
absl::FastTypeId<Type>(), which evaluates at compile-time to a unique id for the passed-in type. - Added
absl::endianandabsl::byteswappolyfills (https://github.com/abseil/abseil-cpp/commit/25bce1236b030ce8952ec06e5dd1a285f05b400a).
Breaking Changes:
- Abseil now requires at least C++17 and follows Google's Foundational C++ Support Policy. See this table for a list of currently supported versions compilers, platforms, and build tools.
- Nullability template types are deprecated and will be removed in a future release. The macro-style annotations (
absl_nonnull,absl_nullable) should be used instead (https://github.com/abseil/abseil-cpp/commit/caf854d58c061808bae2a41f2b7da21a3ba74028).
Known Issues
- This release fails to compile with GCC7 and GCC8. This is fixed in 20250512.1.
Baseline: bc257a88f7c1939f24e0379f14a3589e926c950c