Introduce a movable type that combines mozilla::UniquePtr<T[]> and its length

RESOLVED FIXED in Firefox 65

Status

()

enhancement
RESOLVED FIXED
6 months ago
6 months ago

People

(Reporter: hsivonen, Assigned: hsivonen)

Tracking

unspecified
mozilla65
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

Assignee

Description

6 months ago
AFAICT, we don't have a type between mozilla::Array and mozilla::Vector in terms of length dynamism. The HTML parser could use a type that's like Span in terms of machine representation but that owns its pointee, so I'm proposing one for MFBT instead of adding a parser-only type.

Comment 2

6 months ago
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5344a9d4ec9c
Introduce a movable type that combines mozilla::UniquePtr<T[]> and its length. r=froydnj

Comment 3

6 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/5344a9d4ec9c
Status: ASSIGNED → RESOLVED
Last Resolved: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.