[libcxx-commits] [libcxx] [libc++] Fix -Wsign-compare warning in `ranges::search` (PR #100983)

Hewill Kang via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 29 04:32:10 PDT 2024


hewillk wrote:

> What exactly is the problem here you're trying to solve? AFAICT `ranges::size` is guaranteed to be correct here.

As the title describes: "Fix -Wsign-compare warning in ranges::search":
https://godbolt.org/z/de8Gv9dWx



https://github.com/llvm/llvm-project/pull/100983


More information about the libcxx-commits mailing list