Bug 251319 - Add iterator adaptor for iterating a set of set of iterators all at once (aka WTF::zippered)
Summary: Add iterator adaptor for iterating a set of set of iterators all at once (aka...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-28 08:44 PST by Sam Weinig
Modified: 2024-07-22 04:51 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2023-01-28 08:44:22 PST
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.
Comment 1 Radar WebKit Bug Importer 2023-02-04 08:45:18 PST
<rdar://problem/105041744>
Comment 2 Sam Weinig 2024-05-30 13:11:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/29328
Comment 3 Ahmad Saleem 2024-07-22 04:51:44 PDT
I think we can close this in favor of std::ranges. @Sam - any thoughts?