[Webkit-unassigned] [Bug 237265] New: WTF::SentinelLinkedList::iterator should have operator++ for range-for loop
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 27 22:01:43 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=237265
Bug ID: 237265
Summary: WTF::SentinelLinkedList::iterator should have
operator++ for range-for loop
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
WTF::SentinelLinkedList has three problems.
Even though it has begin() and end(), using SentinelLinkedList
with range-for loop results in a broken node because
iterator::operator++ doesn't work as expected.
If I use a SentinelLinkedList in a movable type, the sentinel
pointer gets stale.
It doesn't have const_iterator.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220228/bbd3a48e/attachment-0001.htm>
More information about the webkit-unassigned
mailing list