| commit | baaa6ac0ea6cdbb95a34d0bfa2efebab6411ea6f | [log] [tgz] |
|---|---|---|
| author | Peter Kasting <pkasting@chromium.org> | Wed Nov 13 01:02:51 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 13 01:02:51 2024 |
| tree | 6a363593c77dc691539abbec4b7f1286e07abc8d | |
| parent | d2afe0fdcc40c80f9f28861d4f2776514d7d72c2 [diff] |
base/numerics cleanup 1/n: Use concepts more Makes increased use of `requires` instead of `static_assert`. This might help use `StrictNumeric<size_t>` more frequently in `base::span`. Replaces constructor-from-T with explicit deduction guide to work around CrOS-toolchain-only LLVM bug. There are a few related fixes like more use of constexpr if to combine pairs of functions, but I'm mostly trying to keep this narrowly-focused. Bug: none Change-Id: I3c5c14861ea83565452230e6ef6956b58ea9451e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6012531 Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#1382088}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.