20230125.2
版本发布时间: 2023-03-27 23:01:28
abseil/abseil-cpp最新发布版本:20240722.0(2024-08-02 02:09:08)
Abseil LTS 20230125.2
What's New:
- The Abseil logging library has been released. This library provides facilities for writing short text messages about the status of a program to
stderr
, disk files, or other sinks (via an extension API). See the logging library documentation for more information. - An extension point,
AbslStringify()
, allows user-defined types to seamlessly work with Abseil's string formatting functions likeabsl::StrCat()
andabsl::StrFormat()
. - A library for computing CRC32C checksums has been added.
- Floating-point parsing now uses the Eisel-Lemire algorithm, which provides a significant speed improvement.
- The flags library now provides suggestions for the closest flag(s) in the case of misspelled flags.
- Using CMake to install Abseil now makes the installed artifacts (in particular
absl/base/options.h
) reflect the compiled ABI.
Breaking Changes:
- Abseil now requires at least C++14 and follows Google's Foundational C++ Support Policy. See this table for a list of currently supported versions compilers, platforms, and build tools.
- The legacy spellings of the thread annotation macros/functions (e.g.
GUARDED_BY()
) have been removed by default in favor of theABSL_
prefixed versions (e.g.ABSL_GUARDED_BY()
) due to clashes with other libraries. The compatibility macroABSL_LEGACY_THREAD_ANNOTATIONS
can be defined on the compile command-line to temporarily restore these spellings, but this compatibility macro will be removed in the future.
Known Issues
- The Abseil logging library in this release is not a feature-complete replacement for glog yet.
VLOG
andDFATAL
are examples of features that have not yet been released.
Baseline: a69b0ae5cdba53a45617afc408618a3e1ac244de Cherry pick: 35e8e3f7a2c6972d4c591448e8bbe4f9ed9f815a (Patch 1) Cherry pick: a0f9b465212aea24d3264b82d315b8ee59e8d7a0 (Patch 1) Cherry pick: 2de126cc5826a8d464270ead65a7a9a7b012b741 (Patch 2)