[base] Ranges: Use constexpr invoke(), begin() and end()
This change modifies the invoke(), begin() and end() function to be constexpr in //util/ranges. This allows making some of the algorithms constexpr as well, which is done in this change for all_of, any_of and none_of. Bug: 1071094 Change-Id: Ic72a5287dfa4623342e5ef5f592b19040797def7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2316211 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#792188}
Showing
Please register or sign in to comment