[libcxx-commits] [libcxx] [libc++] `std::ranges::advance`: avoid unneeded bounds checks when advancing iterator (PR #84126)

Jan Kokemüller via libcxx-commits libcxx-commits at lists.llvm.org
Sat Mar 9 02:26:10 PST 2024


jiixyj wrote:

I added some tests that check that the equality comparison operator isn't called unnecessarily by adding another counter to `stride_counting_iterator`.

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


More information about the libcxx-commits mailing list