commit | 2b9ab77fe9a2f0fa6fb177d80038d5cd2e0b05a5 | [log] [tgz] |
---|---|---|
author | Loo Rong Jie <loorongjie@gmail.com> | Thu Mar 01 02:35:23 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Thu Mar 01 02:36:46 2018 -0800 |
tree | 8c621b356e68e2d0db73bb1f4519f6e761c3d8e2 | |
parent | ccd54bd00e9c63f880a67d35f89ac603c084db71 [diff] |
Convert static std::set to constexpr array Google C++ Style Guide disallows static variable with non-trivial destructor. Use constexpr for static variable whenever possible. std::array would make the code cleaner, but MSVC's implementation of constexpr std::array is buggy. Side-benefit: linear search is faster when array is small (<20). Change-Id: Ic8244dcb868e27d02ceb5298ccec482e7d4254b7 PiperOrigin-RevId: 187451495
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.