commit | 9483392e7eb29052341350372c45b60413d395ed | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Wed Sep 02 12:09:40 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Sep 02 12:10:56 2020 -0700 |
tree | c632fa19877ded593f606467d3c6d82355836d12 | |
parent | 80bfa261e0fc1115afc31d7d353e01b839edc0c4 [diff] |
Pass vectors of raw pointers to OptionProcessor helpers instead of vectors of unique_ptrs. Passing a vector<unique_ptr<T>>& is bad for two reasons: 1) Conceptual - unique_ptr is meant to be a clear signal of ownership transfer. But this is a *reference* to a vector of unique_ptrs so ownership isn't transferred. 2) Practical - this interface is impossible to work with unless you happen to already have a vector of unique_ptrs, because they're move-only so you can't create this on the fly. RELNOTES: None. PiperOrigin-RevId: 329760925
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only 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