diff --git a/styleguide/c++/c++-features.md b/styleguide/c++/c++-features.md index aeb4ac51a217c7..82947472ed751d 100644 --- a/styleguide/c++/c++-features.md +++ b/styleguide/c++/c++-features.md @@ -1576,6 +1576,24 @@ None The following Abseil library features are allowed in the Chromium codebase. +### 128bit integer [allowed] + +```c++ +uint64_t a; +absl::uint128 v = a; +``` + +**Description:** Signed and unsigned 128-bit integer types meant to mimic +intrinsic types as closely as possible. + +**Documentation:** +[Numerics](https://abseil.io/docs/cpp/guides/numeric) + +**Notes:** +*** promo +[Discussion thread](https://groups.google.com/a/chromium.org/g/cxx/c/6l8MlO7vEek) +*** + ### Optional [allowed] ```c++ @@ -1714,24 +1732,6 @@ The following Abseil library features are not allowed in the Chromium codebase. See the top of this page on how to propose moving a feature from this list into the allowed or banned sections. -### 128bit integer [tbd] - -```c++ -uint64_t a; -absl::uint128 v = a; -``` - -**Description:** Signed and unsigned 128-bit integer types meant to mimic -intrinsic types as closely as possible. - -**Documentation:** -[Numerics](https://abseil.io/docs/cpp/guides/numeric) - -**Notes:** -*** promo -None -*** - ### bind_front [tbd] ```c++