[libcxx-commits] [libcxx] [libc++] Fix ambiguity in ranges::advance and ranges::next affecting flat_set (PR #177773)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 10 01:53:31 PDT 2026


================

----------------
huixie90 wrote:

Sorry for hear that and I hope you are doing well.

The test here does not reproduce the issue see:
https://godbolt.org/z/4j6Po4q88

There are two layers of ADL in the original reproducer which caused ambiguity. I think the current test does not trigger the ambiguity

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


More information about the libcxx-commits mailing list