WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
249777
StringView::SplitResult::Iterator Improvements
https://bugs.webkit.org/show_bug.cgi?id=249777
Summary
StringView::SplitResult::Iterator Improvements
Ryan Reno
Reported
2022-12-22 08:33:20 PST
StringView::SplitResult::Iterator does not conform to LegacyForwardIterator as claimed by the trait iterator_category = std::forward_iterator_tag; It's missing at least operator-> and postfix operator++ We should also consider upgrading the iterator to a bidirectional iterator. We could then do efficient checks for string formatting such as checking that an IPv4 address contains the proper number of octets (it.end() - it.begin() == 4) that don't require rolling your own loop.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-12-22 08:36:01 PST
<
rdar://problem/103639246
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug