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

Amgad Emara via libcxx-commits libcxx-commits at lists.llvm.org
Sun Mar 1 05:33:59 PST 2026


TheAmgadX wrote:

> > > > Hey @TheAmgadX , LWG has proposed a new solution to this issue which modifies the `sentinel_for` concept. And the issue is tentatively ready with the new resolution. Do you mind giving the new solution a go?
> > > > Many thanks!
> > > 
> > > 
> > > Thanks for the update, could you please share the link of the new resolution.
> > 
> > 
> > It is at the end of the same issue https://cplusplus.github.io/LWG/issue4510
> 
> Basically we are changing the the sentinel_for concept, which is a bigger change then the previous resolution. Let’s see if it breaks anything in our test suites

Yes, I am working on it now. Is there are any tests you want me to add with the PR? 

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


More information about the libcxx-commits mailing list