[base] Ranges: Support multiple projections
This change adds support for multiple projections to util::ranges by improving the capabilities of the ProjectedBinaryPredicate. The resulting object will now consider several permutations of the provided projections, and choose an appropriate one. This change required the introduction of a few internal helpers. Bug: 1071094 Change-Id: I46b05e1e0ddf0b15b0ed1518fb6de263bb23b8a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2310533 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#791787}
Showing
This diff is collapsed.
Please register or sign in to comment