Bug 251319
| Summary: | Add iterator adaptor for iterating a set of set of iterators all at once (aka WTF::zippered) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | Web Template Framework | Assignee: | Sam Weinig <sam> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
We should add WTF iterator adaptor to implement the zippering pattern common in other languages and coming one day to c++ via ranges' zip_view and friends (https://en.cppreference.com/w/cpp/ranges/zip_view). It will be a while until we can use ranges, but we don't need to wait for some of the simpler bits.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105041744>
Sam Weinig
Pull request: https://github.com/WebKit/WebKit/pull/29328
Ahmad Saleem
I think we can close this in favor of std::ranges. @Sam - any thoughts?