[base] Make CheckedContiguousIterator constexpr
This change makes base::CheckedContiguousIterator's API constexpr and updates base::span's begin and end member functions. Furthermore, this change makes the various CHECK_* macros usable in a constexpr context (given that the condition actually is true), and makes more use of them in CheckedContiguousIterator. Bug: 817982, 828324 Change-Id: I012941d31237559a7776948c613c45e9ff60b2c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1856519Reviewed-by:Chris Palmer <palmer@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#705297}
Showing
Please register or sign in to comment