[base] Remove base::span's comparison operators
At the recent ISO C++ Committee meeting in San Diego it was decided [1] to make std::span SemiRegular and drop its comparison operators [2]. For further info see also this blog post [3]. This change updates the base::span implemention appropriately and replaces prior usages of the comparison operators with their STL algorithm equivalent. [1] http://redd.it/9vwvbz [2] https://wg21.link/p1085 [3] https://abseil.io/blog/20180531-regular-types#evaluating-span Bug: 828324 Change-Id: I94e94450df5f233b6de81da81f309386e0dcf4a7 Reviewed-on: https://chromium-review.googlesource.com/c/1337628Reviewed-by:Ken Rockot <rockot@google.com> Reviewed-by:
Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Ryan Sleevi <rsleevi@chromium.org> Reviewed-by:
John Rummell <jrummell@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Jun Choi <hongjunchoi@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#608702}
Showing
Please register or sign in to comment