Chromium's official C++ style guide details which modern C++ features (C++11 through C++23) and Abseil library components are allowed, banned, or under consideration. The guide categorizes language and library features across multiple standards, providing rationale for restrictions—such as banning `std::shared_ptr` in favor of
Table of contents
Banned features and third-party codeContentsC++11 Banned Language FeaturesC++11 Banned Library FeaturesC++17 Banned Language FeaturesC++17 Banned Library FeaturesC++20 Allowed Language FeaturesC++20 Allowed Library FeaturesC++20 Banned Language FeaturesC++20 Banned Library FeaturesC++20 TBD Language FeaturesC++20 TBD Library FeaturesC++23 Allowed Language FeaturesC++23 Allowed Library FeaturesC++23 TBD Language FeaturesC++23 TBD Library FeaturesAbseil Banned Library FeaturesAbseil TBD FeaturesSort: